8 replies
by james hardy
check to make sure there isn't a double extension on the bat file like
myfile.bat.txt
sometimes this can happen.
by ivyanne
by joseph moore
Open Regedit and go to:
HKEY_CLASSES_ROOT\batfile\shell
There you will see edit, open and print.
You can delete open to remove the open option.
Then, add a key called run.
Under run make a new key called command.
In command, make its defaultvalue equal what the run value should be. I don't know what the run command would equal; my NT workstation uses open instead of run!
You could go to one of your machines that IS using run, go to this same Registry location, and see what their run --> command default value is.
For open, the default command value = ""%1"%*
Hope this helps.
by ivyanne
by mm212
Follow the instructions above and enter the following in (Default) under the new Command Key you just added. (Be sure to include all quotes as below):
"%1" %*
Note: There is one space between the second set of quotes and the percent sign.
by ivyanne
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending