Windows
FAQ(4)
Is there a fast way to edit .BAT and .PIF files in
Windows?
In Windows 3.1 and Windows for
Workgroups 3.11, you can use File Manager to quickly get to .BAT or .PIF files
that you want to edit.
- In
File Manager, select the name of the file you want to edit.
- From
the File menu, choose Run, or press ALT+F+R. When the Run dialog box
appears, press the HOME key.
- If
you are editing a .BAT file, in the Command Line box, type notepad,
and then press SPACEBAR. If you are editing a .PIF file, type pifedit
and press SPACEBAR. For example, if you want to edit the AUTOEXEC.BAT file,
your Command Line box should look like this: notepad AUTOEXEC.BAT
- Click
OK or press ENTER, and the file editor will appear with the file you want to
edit already loaded.
NOTE: The command C:\\WINDOWS
must appear in the PATH line of your AUTOEXEC.BAT file for this tip to work for
.BAT files. Unless you have removed it, the command should be in the PATH line.
Windows Index