Home
Page
Doing
Windows
Windows Tips Categories
|
Windows Explorer
Tips
EDITING A BATCH FILE FROM EXPLORER
If you double-click on a file with the .TXT
extension, the built-in Windows utility NotePad starts up
with the file displayed as its input. If you did a
double-click on a file with the .BAT extension (a batch
file), on the other hand, it would start running. How do
you open up NotePad with the batch file as input? Quite
simply: right-click on the batch file while holding down
the Shift key (you may have to left-click on the file
name first in order to get it highlighted). Now the
context menu that pops up will contain an item Open With
... on it. If you click that, you are given a list of
utilities on your system that Windows thinks might
include one that can open up the batch file. Scroll down
until you see NotePad, and click on it. This Open With
option that is displayed when you press the Shift key
while right-clicking can be useful in cases where: a)
there is no "associated Application" that
Windows knows of concerning a given file type, or b)
there is, but you want to open the file with another
application.

|