Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command prompt Problem

01 Jul 2014   #1
Matts

windows 7 64 bit
 
 
Command prompt Problem

Anytime I run cmd as administrator it now says C:\Windows> NOT C:\Windows\System32 (which is what I want)

I have no idea how to make it run in system 32 folder by default. (not cd system32 (ain nobody got time for that))

Thanks

~Matt


My System SpecsSystem Spec
.
01 Jul 2014   #2
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

First try creating a new admin account and see if that shows System32 then if no good try running sfc /scannow. You might have to go through Safe Mode though!
My System SpecsSystem Spec
01 Jul 2014   #3
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

after following Mitchell65's suggestion

check your environment settings while in the Command Prompt
set

look at
ComSpec=C:\WINDOWS\system32\cmd.exe
and
Path=
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Windows Live\Shared
also see where cmd.exe is located
- sb :c:\windows\system32

dir /a /s c:\cmd.exe
if it's anywhere else - let members reading your thread know that.
My System SpecsSystem Spec
.

02 Jul 2014   #4
Matts

windows 7 64 bit
 
 

Okay doing non of what you guys said didn't do anything its still the same
My System SpecsSystem Spec
02 Jul 2014   #5
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Where did you find cmd.exe is located and can you post a screenshot showing its' location?
My System SpecsSystem Spec
02 Jul 2014   #6
Sir George

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by Matts View Post
Anytime I run cmd as administrator it now says C:\Windows> NOT C:\Windows\System32 (which is what I want)

I have no idea how to make it run in system 32 folder by default. (not cd system32 (ain nobody got time for that))

Thanks

~Matt
Find the current location of "cmd.exe" as follows;

Start Button>Control Panel>System>Advanced system settings>Advanced (tab)>Environment Variables (bottom right of the screen)>System variables (where is ComSpec located)? You can modify the location if it is different than;
C:\Windows\System32\cmd.exe

HTH
My System SpecsSystem Spec
Reply

 Command prompt Problem




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
SSH command prompt
Is there any way I can use ssh or something similar to enter command line prompts from my Mac terminal, similar to SSH but windows commands? (From mac to a windows 7 desktop)
Performance & Maintenance
Command prompt - open problem
I have installed Windows 7 Pro x32 and I'm in corporate lan (domain), but I have admin rights. After a while I can't open command prompt, but cmd.exe and conhost.exe can be found in Task Manager. What have I tried until now without luck: - remove policy keys - upgrade Windows 7 - run as...
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Windows 7 weird command prompt problem
Has anyone noticed that in Windows 7, the command prompt doesn't allow you to scroll up?? You can't scroll up to see the top content once it's scrolled down. Try pinging until the screen fills and the stop it. You can't go up and see previews content... In all other versions the mouse...
General Discussion
Command Prompt problem
Dear Sir, Click Start menu>click Run> enter CMD> type "ipconfig" then error appear as C:\>ipconfig 'ipconfig' is not recognized as an internal or external command, operable program or batch file. Please tell me why????
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App