Vista Command Prompt Problem command prompt not working properly
#1
Posted 03 November 2009 - 09:39 AM
#2
Posted 04 November 2009 - 11:07 PM
thecompmaster, on 03 November 2009 - 09:39 AM, said:
Hi there
what you can try is to download a portable command prompt
i tried it and it worked
One of the link is here
Portable command prompt
#3
Posted 05 November 2009 - 01:41 AM
I would guess that some settings or something accidentally got changed. I don't know if there is some simple variable change or anything that could have caused this.
Any other suggestions?
#4
Posted 05 November 2009 - 09:53 AM
thecompmaster, on 03 November 2009 - 11:39 AM, said:
Go into the command prompt window and type "set". It should list all your environment parameters, including paths. Type "help" and it should show all the DOS commands. Internal commands such as "dir" should always be available regardless of the directory. Try other internal commands like "ver" and "vol". If these don't work, then Vista is messed up somehow. Personally, if you are having problems with Vista, just upgrade to Win 7 and your problems should go away. That's what I did.
#5
Posted 06 November 2009 - 01:14 AM
doslover, on 05 November 2009 - 05:53 PM, said:
thecompmaster, on 03 November 2009 - 11:39 AM, said:
Go into the command prompt window and type "set". It should list all your environment parameters, including paths. Type "help" and it should show all the DOS commands. Internal commands such as "dir" should always be available regardless of the directory. Try other internal commands like "ver" and "vol". If these don't work, then Vista is messed up somehow. Personally, if you are having problems with Vista, just upgrade to Win 7 and your problems should go away. That's what I did.
All the commands you mentioned worked, except for help. I don't think the problem is Vista, since it was working fine a few months ago. It just suddenly wasn't responding correctly to certain commands, such as help and shutdown. That's why I think it could be some setting or directory change, unless it was because of some Vista update or something similar. It could also be because I accidentally changed a setting or possibly have a program that conflicted with it.
This post has been edited by thecompmaster: 06 November 2009 - 01:15 AM
#6
Posted 06 November 2009 - 06:28 AM
thecompmaster, on 06 November 2009 - 03:14 AM, said:
doslover, on 05 November 2009 - 05:53 PM, said:
thecompmaster, on 03 November 2009 - 11:39 AM, said:
Go into the command prompt window and type "set". It should list all your environment parameters, including paths. Type "help" and it should show all the DOS commands. Internal commands such as "dir" should always be available regardless of the directory. Try other internal commands like "ver" and "vol". If these don't work, then Vista is messed up somehow. Personally, if you are having problems with Vista, just upgrade to Win 7 and your problems should go away. That's what I did.
All the commands you mentioned worked, except for help. I don't think the problem is Vista, since it was working fine a few months ago. It just suddenly wasn't responding correctly to certain commands, such as help and shutdown. That's why I think it could be some setting or directory change, unless it was because of some Vista update or something similar. It could also be because I accidentally changed a setting or possibly have a program that conflicted with it.
Help is an external command, so it might not work even if the command processor works. Since the internal commands like Dir, Ver and Vol work, I don't think there is a problem with the command processor (cmd.exe) itself. First, are you running from a single hard drive partition, i.e. drive C: ? Try the following: Open Windows Explorer (file manager) and navigate to the folder C:\Windows\System32. You should find the executable files "cmd.exe", "help.exe" and "shutdown.exe". Double-click on cmd.exe to open the command processor. Again try to run Help. If it works, type Set and make sure you see the entry "ComSpec=C:\Windows\System32\cmd.exe". Also, the path environment entry should point to this directory (Path=C:\Windows\System32;.....). This sounds most likely to be a problem with environment settings, since it's unlikely that files have actually been deleted.
#7
Posted 06 November 2009 - 07:30 AM
Quote
Just tested this on my Vista machine.
I can run Help without any problems....
This post has been edited by smax013: 07 November 2009 - 02:26 PM
Reason for edit:: Fixed quote tags
#8
Posted 06 November 2009 - 11:17 AM
doslover, on 06 November 2009 - 02:28 PM, said:
thecompmaster, on 06 November 2009 - 03:14 AM, said:
doslover, on 05 November 2009 - 05:53 PM, said:
thecompmaster, on 03 November 2009 - 11:39 AM, said:
Go into the command prompt window and type "set". It should list all your environment parameters, including paths. Type "help" and it should show all the DOS commands. Internal commands such as "dir" should always be available regardless of the directory. Try other internal commands like "ver" and "vol". If these don't work, then Vista is messed up somehow. Personally, if you are having problems with Vista, just upgrade to Win 7 and your problems should go away. That's what I did.
All the commands you mentioned worked, except for help. I don't think the problem is Vista, since it was working fine a few months ago. It just suddenly wasn't responding correctly to certain commands, such as help and shutdown. That's why I think it could be some setting or directory change, unless it was because of some Vista update or something similar. It could also be because I accidentally changed a setting or possibly have a program that conflicted with it.
Help is an external command, so it might not work even if the command processor works. Since the internal commands like Dir, Ver and Vol work, I don't think there is a problem with the command processor (cmd.exe) itself. First, are you running from a single hard drive partition, i.e. drive C: ? Try the following: Open Windows Explorer (file manager) and navigate to the folder C:\Windows\System32. You should find the executable files "cmd.exe", "help.exe" and "shutdown.exe". Double-click on cmd.exe to open the command processor. Again try to run Help. If it works, type Set and make sure you see the entry "ComSpec=C:\Windows\System32\cmd.exe". Also, the path environment entry should point to this directory (Path=C:\Windows\System32;.....). This sounds most likely to be a problem with environment settings, since it's unlikely that files have actually been deleted.
Thank you that does the trick.:-) When I navigated to the folder and opened it, it worked, but not when I tried using Run->cmd. Is there a way to fix the way I was doing it? If not, this is more than sufficient. Thanks again :-)
#9
Posted 06 November 2009 - 11:39 AM
thecompmaster, on 06 November 2009 - 01:17 PM, said:
Yes. Go to Start > Program Files > Accessories and click on the Command Prompt icon. Or, what I do is simply copy (Ctrl drag) the shortcut icon to my desktop, so I don't have to go through the start menus.
#10
Posted 06 November 2009 - 12:11 PM
doslover, on 06 November 2009 - 07:39 PM, said:
thecompmaster, on 06 November 2009 - 01:17 PM, said:
Yes. Go to Start > Program Files > Accessories and click on the Command Prompt icon. Or, what I do is simply copy (Ctrl drag) the shortcut icon to my desktop, so I don't have to go through the start menus.
Microsoft has added a new scripting language the Power Shell that can do alot of the things that used to be done at the command prompt. It's especially usefull for windows administrators.
http://en.wikipedia....dows_PowerShell
Sign In
Register
Help

MultiQuote