Computer Hope

Microsoft => Microsoft DOS => Topic started by: bbxrider on July 24, 2008, 12:35:57 PM

Title: dir command - the system cannot find the path specified???
Post by: bbxrider on July 24, 2008, 12:35:57 PM
for win xp-pro, on a work pc, not sure all the configuration that has been set by big company, eds

in my dos window, no matter where i'm at, even c:\, the 'dir' command always returns 'the system cannot find the path specified'
please believe me, i am not crazy, and have been using dos ever since the first dos and have issued 1000's of dir commands on every windows o/s.

there is some sort of config parameter somewhere that is blocking or not allowing perhaps the most basic dos command of all not to work?
anybody see this? googling so far has not found anything
bob
Title: Re: dir command - the system cannot find the path specified???
Post by: Sidewinder on July 24, 2008, 01:31:49 PM
Just a thought, but do you have a variable dircmd set in the environment?

 8)
Title: Re: dir command - the system cannot find the path specified???
Post by: bbxrider on July 24, 2008, 04:35:05 PM
that was it,  thanks very much, mine was set to a bogus .cmd file
 not sure how it got there, will have to check after next reboot and what ini thing sets those up.
looks like a great tool when used right
Title: Re: dir command - the system cannot find the path specified???
Post by: erobby on July 24, 2008, 06:24:29 PM
first make sure c:\windows\system32 is in your path statement or it may show as %systemroot%\system32

Second I don't know if it was a typo but what you entered had a comma after C:\

Dir is an internal not external so it only need the path to command.com or cmd.exe