If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
Shortcut to 'Edit"?
Brian Dude wrote:
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 Is this what you want? On the desktop, right-clicknew and select Shortcut. In the dialogue box, type "C:\WINDOWS\system32\edit.com" (without the quotes)click on Next and give the shortcut a name and then click Finish. |
#3
|
|||
|
|||
Shortcut to 'Edit"?
On 09/23/2012 05:07 PM, Brian Dude wrote:
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 Just create a batch file (in notepad) called editor.bat (or whatever name you want as long as it ends in .bat it should contain the text: start cmd /k "edit" Once you run it, it will open an untitled file which you can name but hitting alt-f-x then save as....and choose the name you want -- https://www.createspace.com/3707686 |
#4
|
|||
|
|||
Shortcut to 'Edit"?
Is this what you want? On the desktop, right-clicknew and select Shortcut. In the dialogue box, type "C:\WINDOWS\system32\edit.com" (without the quotes)click on Next and give the shortcut a name and then click Finish. Yes it is. Thank you! |
Thread Tools | |
Display Modes | |
|
|