PC Review


Reply
Thread Tools Rate Thread

Edit Command Missing

 
 
=?Utf-8?B?TnlsZXg=?=
Guest
Posts: n/a
 
      11th Jun 2007
When I click the "Command Prompt" a new window opens as it is supposed to

I have certain "Batch" Files that do a lot of my work automatically

When I needed to make alterations I used to type in "Edit TransferOne.bat"
and the file would open up and I could make alterations

Save the file and then everything would work fine from a "Shortcut on the
Desktop"

Last week I went to the "Command Prompt" to make an alteration and it says
the


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\>edit TransferOne.bat
'edit' is not recognized as an internal or external command,
operable program or batch file.

c:\>

I did some other functions and "Type" or "More" does not work either


I dont know when they stopped working as it is not a function I use often

I checked on my DeskTop and they still work there - just not on my LapTop

 
Reply With Quote
 
 
 
 
Patrick Keenan
Guest
Posts: n/a
 
      11th Jun 2007
"Nylex" <(E-Mail Removed)> wrote in message
news:0AB23293-4B85-424F-8134-(E-Mail Removed)...
> When I click the "Command Prompt" a new window opens as it is supposed to
>
> I have certain "Batch" Files that do a lot of my work automatically
>
> When I needed to make alterations I used to type in "Edit TransferOne.bat"
> and the file would open up and I could make alterations
>
> Save the file and then everything would work fine from a "Shortcut on the
> Desktop"
>
> Last week I went to the "Command Prompt" to make an alteration and it says
> the
>
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> c:\>edit TransferOne.bat
> 'edit' is not recognized as an internal or external command,
> operable program or batch file.
>
> c:\>
>
> I did some other functions and "Type" or "More" does not work either
>
>
> I dont know when they stopped working as it is not a function I use often
>
> I checked on my DeskTop and they still work there - just not on my LapTop


This usually means that the path variable has changed and no longer includes
the windows\system32 folder, where those apps and commands live.

At a command prompt, type "set" or "path" and you will likely see that the
path doesn't have this.

Right-click on My Computer, then Properties, then Advanced and finally
Environment Variables. In the lower section, where it says "system
variables", click on Path and choose Edit, then add this, preferably at the
start:

%SystemRoot%\system32

Click OK back to the desktop. The commands should work now.

HTH
-pk




 
Reply With Quote
 
Pegasus
Guest
Posts: n/a
 
      11th Jun 2007

"Nylex" <(E-Mail Removed)> wrote in message
news:0AB23293-4B85-424F-8134-(E-Mail Removed)...
> When I click the "Command Prompt" a new window opens as it is supposed to
>
> I have certain "Batch" Files that do a lot of my work automatically
>
> When I needed to make alterations I used to type in "Edit TransferOne.bat"
> and the file would open up and I could make alterations
>
> Save the file and then everything would work fine from a "Shortcut on the
> Desktop"
>
> Last week I went to the "Command Prompt" to make an alteration and it says
> the
>
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> c:\>edit TransferOne.bat
> 'edit' is not recognized as an internal or external command,
> operable program or batch file.
>
> c:\>
>
> I did some other functions and "Type" or "More" does not work either
>
>
> I dont know when they stopped working as it is not a function I use often
>
> I checked on my DeskTop and they still work there - just not on my LapTop
>


Further to Patrick's reply: "Edit" is a legacy 16-bit command. You should
use notepad.exe instead. It is far more powerful than edit.


 
Reply With Quote
 
Nightowl
Guest
Posts: n/a
 
      12th Jun 2007
Nylex <(E-Mail Removed)> wrote on Sun, 10 Jun 2007:

>Last week I went to the "Command Prompt" to make an alteration and it says
>the
>
>
>Microsoft Windows XP [Version 5.1.2600]
>(C) Copyright 1985-2001 Microsoft Corp.
>
>c:\>edit TransferOne.bat
>'edit' is not recognized as an internal or external command,
>operable program or batch file.
>
>c:\>
>
>I did some other functions and "Type" or "More" does not work either


Hi Nylex

Following on from Patrick's advice -- if when you check the path you
find that System32 *is* there, it could be that the Path is set to the
wrong data type in the registry.

Check the key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
If the Path value includes variables such as %SystemRoot%, it should be
of type REG_EXPAND_SZ, not REG_SZ.

Let us know how you get on :-)

--
Nightowl
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
News command missing from Go catagory command list =?Utf-8?B?aGVkZ2Vtb241Ng==?= Microsoft Outlook Discussion 1 17th Dec 2005 01:35 PM
The Edit command is missing in word =?Utf-8?B?RGFuZW4=?= Microsoft Word Document Management 1 27th Oct 2005 03:06 AM
My EDIT command and pull-down menu is missing in Outlook 2002 -- . =?Utf-8?B?U2NvdHQgQ293Z2Vy?= Microsoft Outlook Discussion 1 4th Dec 2004 04:59 PM
Subform is unable to edit using edit command button =?Utf-8?B?Q2h1Y2s=?= Microsoft Access Forms 0 26th May 2004 11:26 PM
copying value of DDL in a Datagrid "pre-edit command" to value in "post edit command" San Diego Guy Microsoft ASP .NET 0 7th Aug 2003 09:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:30 PM.