Dos Commands Don't Work


Recommended Posts

I would check to see if the paths are set correctly. R-click "my_computer">>properties>>advanced_tab>>environmental variables. Under system variables, you should have a path variable. Double click on the "path" line(so you can see it better, and edit it). Make sure you at least have the path to your system32 and system directory set: %SystemRoot%\system32;%SystemRoot%;

below is what mine looks like:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\

when you type a command into the shell, it will look for that command in the following order as listed in your path variable. According to my path variable it will look first in C:\windows\system32 . If for some reason your path variable is not set correctly, you would have to type the full path(location) of the command.

Edited by shanenin
Link to post
Share on other sites
Had an app listed before sys32 so I uninstalled the app, rebooted and all is fine.

M

you mean you had a directory listed in your path variable before %SystemRoot%\system32 ? If you need that app, just reinstall it, then make sure its directory is listed at the end of the path variable.

%SystemRoot%\system32;%SystemRoot%;C:\Program Files\path-to-app

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...