View Full Version : cmd.exe
frie
December 5th 03, 10:16 PM
When I open a command screen with Start,Run,cmd.exe a
command screen opens, with the path C:\My documents\.
When I enter a command here like 'Ping' the system returns
the message that the command is not valid.
I can only execute the command after first changing the
directory to C:\Windows\system32\.
In windows 95 or 98 this was never a problem and I could
execute the command no matter what directory it showed.
How can this be estblished in XP?
Ally
December 5th 03, 10:16 PM
"frie" > wrote:
> When I open a command screen with Start,Run,cmd.exe a
> command screen opens, with the path C:\My documents\.
Hm. It starts out in "Documents and Settings\username\" for me, one
"level" above the respective user's documents directory.
> When I enter a command here like 'Ping' the system returns
> the message that the command is not valid.
> I can only execute the command after first changing the
> directory to C:\Windows\system32\.
> In windows 95 or 98 this was never a problem and I could
> execute the command no matter what directory it showed.
> How can this be estblished in XP?
Add C:\Windows\system32\ to the PATH environment variable (via the
properties of "My Computer", or the "System" control panel). I'm
surprise it isn't already there, though; always was for me.
~Ally
--
Never send a monster to do the work of an evil scientist.
Jose Francisco
December 5th 03, 10:16 PM
Hey frie,
Well, I believe it's the only way. I usually go to Start > Run > command.
When the command prompt window pops up I write the command "cd c:\"
It's faster than typing the whole command of "cd C:\Windows\system32\".
Good Luck!
Regards,
Jose Francisco
"frie" > wrote in message
...
> When I open a command screen with Start,Run,cmd.exe a
> command screen opens, with the path C:\My documents\.
> When I enter a command here like 'Ping' the system returns
> the message that the command is not valid.
> I can only execute the command after first changing the
> directory to C:\Windows\system32\.
> In windows 95 or 98 this was never a problem and I could
> execute the command no matter what directory it showed.
> How can this be estblished in XP?
frie
December 5th 03, 10:16 PM
Thank you! That was the solution I was looking for.
>-----Original Message-----
>"frie" > wrote:
>
>> When I open a command screen with Start,Run,cmd.exe a
>> command screen opens, with the path C:\My documents\.
>
>Hm. It starts out in "Documents and Settings\username\"
for me, one
>"level" above the respective user's documents directory.
>
>> When I enter a command here like 'Ping' the system
returns
>> the message that the command is not valid.
>> I can only execute the command after first changing the
>> directory to C:\Windows\system32\.
>> In windows 95 or 98 this was never a problem and I
could
>> execute the command no matter what directory it showed.
>> How can this be estblished in XP?
>
>Add C:\Windows\system32\ to the PATH environment variable
(via the
>properties of "My Computer", or the "System" control
panel). I'm
>surprise it isn't already there, though; always was for
me.
>
>~Ally
>--
>Never send a monster to do the work of an evil scientist.
>.
>
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.