When you right click on a *.bat file in Windows, you have the option to "Edit" the file. You're out of luck, however, if you'd like to use your own editor since you can't find batch files listed in Folder Options.
Here's the registry key to modify to run your own text editor:
HKLM\Software\Classes\batfile\shell\edit\command
The default value normally contains a path reference to notepad.exe. I changed mine to run with SlickEdit by using the following entry:
%ProgramFiles%\SlickEdit\win\vs.exe %1
As soon as I saved this entry and right clicked a batch file, selected edit, and it popped up in SlickEdit.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment