A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Shortcut to 'Edit"?



 
 
Thread Tools Display Modes
  #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
  #2  
Old September 24th 12, 12:15 AM posted to microsoft.public.windowsxp.help_and_support
Disbelief[_2_]
external usenet poster
 
Posts: 36
Default 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  
Old September 24th 12, 12:40 AM posted to microsoft.public.windowsxp.help_and_support
philo
external usenet poster
 
Posts: 4,807
Default 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  
Old September 24th 12, 01:31 AM posted to microsoft.public.windowsxp.help_and_support
Brian Dude
external usenet poster
 
Posts: 6
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 02:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.