| | |
screwy command prompt
![]() |
•
•
Join Date: Sep 2008
Posts: 3
Reputation:
Solved Threads: 0
My command prompt at work is all screwy.
1 - It doesn't seem to use the Path variable. For example, ping results in "not recognized as internal or external command". Strangely I can click the Environmental Variables button under the Advanced tab of System Properties, then click OK in the next window without actually changing anything and then when I re-open my command prompt it works ok. Any ideas as to why or how I can fix the underlying issue? It's a pain havng to do this every time I want to open my command prompt.
2 - I cannot resize my command prompt window. Maximizing simply moves the small window to the upper left corner of the screen. And I have no scroll bars! so I can't always view all of my output. Any ideas about how I can fix this?
I'm usually really good about figuring out this kind of stuff but I'm completely stumped. I've googled everything imaginable, looked at group policies, even tried to use regmon to find the registry keys that are acessed when I open a command prompt and I've gotten nowhere.
1 - It doesn't seem to use the Path variable. For example, ping results in "not recognized as internal or external command". Strangely I can click the Environmental Variables button under the Advanced tab of System Properties, then click OK in the next window without actually changing anything and then when I re-open my command prompt it works ok. Any ideas as to why or how I can fix the underlying issue? It's a pain havng to do this every time I want to open my command prompt.
2 - I cannot resize my command prompt window. Maximizing simply moves the small window to the upper left corner of the screen. And I have no scroll bars! so I can't always view all of my output. Any ideas about how I can fix this?
I'm usually really good about figuring out this kind of stuff but I'm completely stumped. I've googled everything imaginable, looked at group policies, even tried to use regmon to find the registry keys that are acessed when I open a command prompt and I've gotten nowhere.
First, download and run either Mozilla or Opera and see if you have the same problems.
If they work well, uninstall IE and re-install or give it a miss all together.
If they work well, uninstall IE and re-install or give it a miss all together.
BACK-UP.........Try one of the simple solutions first........and BACK-UP......
MAKE YOUR OWN ULTIMATE BOOT CD to BOOT and REPAIR WINDOWS.
http://www.ultimatebootcd.com/download.html
I once thought I was wrong but it turned out I was mistaken
Bob,
MAKE YOUR OWN ULTIMATE BOOT CD to BOOT and REPAIR WINDOWS.
http://www.ultimatebootcd.com/download.html
I once thought I was wrong but it turned out I was mistaken
Bob,
•
•
Join Date: May 2005
Posts: 3,204
Reputation:
Solved Threads: 188
Another of the System Variables should be:
ComSpec with a value C:\Windows\system32\cmd.exe
There seems to be no way to repair the command processor with a simple action, and seeing with ProcMon what is involved in merely opening a cmd window rather rules out a manual fix.
ComSpec with a value C:\Windows\system32\cmd.exe
There seems to be no way to repair the command processor with a simple action, and seeing with ProcMon what is involved in merely opening a cmd window rather rules out a manual fix.
Deep, deep in the woods, but walking about.
•
•
Join Date: Sep 2008
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
could be that your user doesn't have the correct permissions for the paths
use the SET command to configure your environment
set path=c:\;c:\windows; ...
set prompt=$p$g
and so on
Regarding the other posts, I don't see how Internet browsers are going to affect my command prompt sessions. And my Comspec variable seems to persist without any problem. Seems to just be the Path variable. When I run the "set" command it lists all variables, including comspec. The only one that appears to be missing is Path until I do the trick I mentioned above.
Also, the missing scroll bars and the unsizable window are still an issue as well. I'm not confident anyone can suggest a valid fix (I'm totally stumped), but I figured I'd try and let someone prove me wrong
•
•
Join Date: Sep 2008
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
..which is where a Repair comes in... I assume you already tried copying in another cmd.exe.
It doesn't matter whether I use my domain account or local computer account, same problem and there are no roaming profiles in play.
And I hadn't actually tried copying another cmd.exe, but I just did now (from a computer on which I just verified it's working correctly) and had the same problem.
When they created these latest images I can't image what configuration, registry, or policy settings they might have messed up. Or maybe something is simply corrupted on these images. Although I would expect corrupted files to exhibit different (probably worse) behavior, not to simply ignore the Path environment variable and prevent the resizing and scrolling of command prompts.
•
•
Join Date: May 2005
Posts: 3,204
Reputation:
Solved Threads: 188
Ah.. okay.
Lessee... properties. Under layout tab set your Window Size to what you wish; I use width=85, height = 35. Next, to enable the sliders set the related Buffer Sizes to larger proportions. eg. if you wish to have a vertical slider set height to say, 300 - if this number is smaller than the Window Size height you will not have a slider. I use 300 height, 85 width. I suspect your maximisation problem arises because your buffer and window sizes are the same -maximising tries to set the window to the buffer size [limited by physical screen size, of course].
Still playing around here... gotta sort the path problem yet.
Lessee... properties. Under layout tab set your Window Size to what you wish; I use width=85, height = 35. Next, to enable the sliders set the related Buffer Sizes to larger proportions. eg. if you wish to have a vertical slider set height to say, 300 - if this number is smaller than the Window Size height you will not have a slider. I use 300 height, 85 width. I suspect your maximisation problem arises because your buffer and window sizes are the same -maximising tries to set the window to the buffer size [limited by physical screen size, of course].
Still playing around here... gotta sort the path problem yet.
Last edited by gerbil; Sep 25th, 2008 at 1:17 am.
Deep, deep in the woods, but walking about.
•
•
Join Date: May 2005
Posts: 3,204
Reputation:
Solved Threads: 188
I should point out that any changes you make to the path via Set command in cmd window only last while that cmd window is open. How temporary is that? Permanent changes to your environment must be made via the lil Env Variables window that you know. Or into the reg keys directly. Just wondering if your User keys are different to the machine keys?
Your paths should be in here:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
But if there is a path entry here: HKEY_CURRENT_USER\Environment
..it would override the HKLM paths.
Still thinking...
Your paths should be in here:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
But if there is a path entry here: HKEY_CURRENT_USER\Environment
..it would override the HKLM paths.
Still thinking...
Deep, deep in the woods, but walking about.
![]() |
Similar Threads
- HI ALL! Help a newbie? (Networking Hardware Configuration)
Other Threads in the Windows NT / 2000 / XP Forum
- Previous Thread: Problem starting QuickBooks
- Next Thread: Security Center Virus Protection
Views: 947 | Replies: 9
| Thread Tools | Search this Thread |
Tag cloud for Windows NT / 2000 / XP
.net 64bit 2010 a.exe address appstore arm audio black blue bluescreen boot bsod cellphones codeplex computerfreezes crash cursor deployment desktop desktops dns dotnetnuke drive eartlink error errors explorer fax features firefox folder fontmanagers framework gadgets hardware home install intel interoperability laptop laptops latitude lcd linux login mac markshuttleworth memory microsoft minimalizes monitor netbooks novell operatingsystems oracle osx outlook palm partition patch port printer product program proxy reformat remotedesktop replacingraiddrive retail rootkit screen security sharepoint simplifiedchinese sitetositevpn sp3 spyware ubuntu uninstall unreadable update usb videodrivers videogames virus vista visual vpn vulnerability wab win win32/heur window windows windows7 windowsxp windowsxpnotstartingup. worm xp






