![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 5391 Date : 2003-08-21 Author : Garry Deane Subject : Re: .bat execution Size(KB) : 1
--- In xxcopy@yahoogroups.com, "Virg" wrote: > I previously said I screwed up my ability to execute .bat > files in Win XP Pro. > > I wanted to use editpad lite instead of notepad for editing > .bat files. I changed the .bat type to open with editpad. > Now those files merely open instead of run. I should have > used edit instead of open but the deed is done. > > Does anyone know what I need to set for that file type to > get back to the default action of "run" instead of opening > in editpad? Thankfully I didn't do that to the .cmd type > so I should still be able to run those but I've only tried > the xxcopy files I mentioned a little earlier. I'd like > to put his computer back the way it was but don't have > goback installed and no restore checkpoints. > > Sorry this is off topic but it's "sort of" related. Open a Cmd Prompt window and type "ftype cmdfile" (no quotes). You will probably see: C:\>ftype cmdfile cmdfile="%1" %* This is the same entry required for batfile (.bat). Type ftype batfile="%1" %* and you're done. If you prefer, you can do the same thing via Explorer->Tools->Folder Options->File Types->MS-DOS Batch File-> Edit->Open->Edit (or something similar in XP). Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.