Print Page | Close Window

I broke the command line

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=13159
Printed Date: 01 April 2026 at 1:42pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: I broke the command line
Posted By: huwnet
Subject: I broke the command line
Date Posted: 30 December 2004 at 4:29pm
I get an error saying the program does not exist when I try to run:

nslookup
tracert
shutdown
ping

The files are there but for some reason it is not detecting them.




Replies:
Posted By: Mart
Date Posted: 30 December 2004 at 4:33pm
type cd %SystemRoot%\System32 then try


Posted By: michael
Date Posted: 30 December 2004 at 4:35pm
better yet, put above into your path statement.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: huwnet
Date Posted: 30 December 2004 at 5:45pm
Originally posted by Mart Mart wrote:

type cd %SystemRoot%\System32 then try


Thanks. It works now. It used to work without having to do this though. Could it possibly something to do with SP2?


Posted By: Mart
Date Posted: 30 December 2004 at 5:56pm
Depends, did it work the last time you tried it before installing SP2 and the first time you tried after installing it?


Posted By: dpyers
Date Posted: 30 December 2004 at 9:11pm
cmd works on sp2 for me

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: huwnet
Date Posted: 31 December 2004 at 6:49am
It worked until yesterday.


Posted By: michael
Date Posted: 31 December 2004 at 9:48am
Maybe I write in invisble ink, put that path into your PATH statement under environment variables, or just type
path %path%;c:\windows\system32


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: Mart
Date Posted: 31 December 2004 at 10:18am
or just create a file called cmd.bat in notepad, with the following text:

cd %SystemRoot%\System32

and save as cmd.bat (on your desktop or something)

Then just open that file instead of cmd.exe



Posted By: pmormr
Date Posted: 01 January 2005 at 1:41am
that's kinda strange though... anything in sys32 or the windows directory for that matter should be able to be called directly without prelude... never seen that happen before

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: Mart
Date Posted: 01 January 2005 at 7:15am
It happened to me once, but that was a few years ago on Windows ME... I've never seen it on XP


Posted By: huwnet
Date Posted: 01 January 2005 at 8:57am
Originally posted by michael michael wrote:

Maybe I write in invisble ink, put that path into your PATH statement under environment variables, or just type
path %path%;c:\windows\system32


Thanks it works now. Is the variable installed with Windows XP in which case some installer could of removed it?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net