J
JCO
Okay this may seem like a weird question but I want to see if there is a
better way of doing this. I have several text documents (*.txt) that I uses
as help files. Meaning, that I want to be able to pop open the text file
quickly using the run command, get the info out and close the file.
Currently I do this with a batch file that uses Notepad. Example; I have a
file named info.bat. This bat file is in a folder where the path of the
folder has been added to my system (old DOS method). Therefore, from the
run command, I can type "info". Since the bat file is in my path, info.bat
is executed. The content of info.bat is simply this:
Notepad D:\MyUtilities\info.txt.
Everything works fine except for one thing. Each time a Notepad opens a
text file (using a bat file), a command prompt window is open too. It is
this command prompt window that I don't want open. It's becoming a hassle
to always have to close the command prompt.
Is there any way to avoid the command prompt from being open or is there a
better way to open my text files. I really like the way I can use a single
word to open the document.
Thanks
better way of doing this. I have several text documents (*.txt) that I uses
as help files. Meaning, that I want to be able to pop open the text file
quickly using the run command, get the info out and close the file.
Currently I do this with a batch file that uses Notepad. Example; I have a
file named info.bat. This bat file is in a folder where the path of the
folder has been added to my system (old DOS method). Therefore, from the
run command, I can type "info". Since the bat file is in my path, info.bat
is executed. The content of info.bat is simply this:
Notepad D:\MyUtilities\info.txt.
Everything works fine except for one thing. Each time a Notepad opens a
text file (using a bat file), a command prompt window is open too. It is
this command prompt window that I don't want open. It's becoming a hassle
to always have to close the command prompt.
Is there any way to avoid the command prompt from being open or is there a
better way to open my text files. I really like the way I can use a single
word to open the document.
Thanks