Terry,
What the heck is in C:\Pico ?
[[In some cases, the actual contents of the environment variable is correct,
but the registry data type is incorrect. The system registry environment
variable type should be REG_EXPAND_SZ, not REG_SZ.]]
[[To check your registry setting manually, run REGEDIT and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment. Examine the registry data type of the Path entry. If it
is not REG_EXPAND_SZ, then you need to perform the following steps:
Open the Path entry so that it is an editable string.
Select the entire string, and press Ctrl+C to copy it to the clipboard.
Cancel editing of the Path entry.
Open notepad and paste the string, to make sure it copied to the clipboard
correctly.
Delete the Path entry.
Create a new value called Path and make sure that you select REG_EXPAND_SZ
as the data type.
For the contents, press Ctrl+V to paste the contents of the clipboard.
Click OK to save the contents of the registry value.
The cause of this problem is probably an installation program that doesn't
correctly read and re-write the registry value with the correct data type.]]
from...
6. Why don't my commands work?
http://internet.cybermesa.com/~bstewart/cmdprompt.html#6
To show your path in a command prompt, type path and hit Enter.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Support Tools\;C:\Program Files\Common Files\Autodesk Shared\
C:\>
BTW, when I open a Command Prompt, why does it always open to
C:\Documents and Settings\Terry Pinnell> ?
That is the way the Start in is set on your shortcut.
Try this...
Right click the Desktop | New | Shortcut |
Paste this in the location box:
%SystemRoot%\system32\cmd.exe
Click Next | Click Finish |
Right click the new cmd.exe shortcut | Properties |
In the Start in box replace %windir% with C:\ |
Click Apply | Click OK
Double click the new shortcut and you should see.............
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>
You can also change the Start in for the cmd shortcut located under
Accessories on the Start Menu.
HOW TO: Set the Command Processor Appearance in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;309019
Set the Command prompt default path to a certain directory
http://windowsxp.mvps.org/autoruncmd.htm
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In