View Single Post
  #1  
Old September 23rd 12, 11:07 PM posted to microsoft.public.windowsxp.help_and_support
Brian Dude
external usenet poster
 
Posts: 6
Default Shortcut to 'Edit"?

Hello, is there any way to open up a file using a shortcut to the old
DOS-based "Edit" program?
Certainly I can open up CMD.EXE and type:
EDIT whatever.fil
But I'd like a way to do this in one step, so that I can possibly make a
right-click menu option out of it.
I tried using the '/K' switch for CMD.EXE but I can't figure out how to
pass the file name to it.
I tried:
/K edit %1
and
/K edit %s
but those both open an edit session with a file named "%1" and "%s".

TIA,
Brian
Ads