Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

command prompt commands dont work


  • Please log in to reply

#1
naruto267

naruto267

    New Member

  • Member
  • Pip
  • 3 posts
i cant use commands in the command prompt like ping and find. It seems like the command prompt is not using the set path. How can i fix this.
my path

PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Fi
les\Sun\JavaDB\bin;C:\Program Files\MATLAB\R2007b\bin;C:\Program Files\MATLAB\R2
007b\bin\win32;C:\Program Files\Private Shell;C:\Program Files\QuickTime\QTSyste
m\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common
Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\yagarto\bin;C:\Program Files
\yagarto-tools-20070303\bin;C:\Program Files\mchelper;C:\Program Files\SSH Commu
nications Security\SSH Secure Shell

Edited by naruto267, 31 December 2007 - 08:03 PM.

  • 0

Advertisements


#2
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
PATH looks okay. Are the commands still on your hard drive? They should be in C:\Windows\system32.
  • 0

#3
naruto267

naruto267

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts
yes.. if i navigate to that path i can use them commands
  • 0

#4
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
Hmmm, can you verify all the paths exist?

PATH=
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
C:\Program Files\Sun\JavaDB\bin;
C:\Program Files\MATLAB\R2007b\bin;
C:\Program Files\MATLAB\R2007b\bin\win32;
C:\Program Files\Private Shell;
C:\Program Files\QuickTime\QTSystem\;
C:\Program Files\Common Files\Roxio Shared\DLLShared\;
C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;
C:\Program Files\yagarto\bin;
C:\Program Files\yagarto-tools-20070303\bin;
C:\Program Files\mchelper;
C:\Program Files\SSH Communications Security\SSH Secure Shell


What do you get is you open a command prompt and enter

echo %SystemRoot%

It should return C:\Windows
  • 0

#5
naruto267

naruto267

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts
yes all them paths exist
I figure out the problem. Some install program must nave messed up while writing the path registery
The system registry environment variable type should be REG_EXPAND_SZ, not REG_SZ as in my case
see here for fix
http://www.westmesat...mdprompt.html#6
  • 0

#6
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
That's a new one to me, many thanks for posting it. Sure to help someone else later on.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP