Windows 7 Command Prompt Question

zlloyd1

Junior Member
Dec 6, 2012
1
0
0
I am honestly not sure if this is in the right forum here, but I am seeking assistance with resetting my command prompt in Windows 7. I have tried changing directories, cd to the C drive, but it always ends up at the path, C\Users\my name. Unfortunately, this limits where I can change directories, because I want to find directories like Program Files(x86), but this folder is not in C\Users at all. So please, how can I find a directory in the command prompt in Windows 7, if it is NOT in C\Users?? :confused:
 

lakedude

Platinum Member
Mar 14, 2009
2,778
529
126
Try cd dot, or cd dot dot or cd backslash.

A quick Google search shows cd dot dot as the solution...
 
Last edited:

Smoove910

Golden Member
Aug 2, 2006
1,235
6
81
not really sure what you are asking, but I can see the Program Files (x86) if I type C:
 

jhansman

Platinum Member
Feb 5, 2004
2,768
29
91
If you're at "C: \Users\Your Name", just type "CD\" (that's a backslash, not a foreslash), which will put you at your root directory. From there you can use the DIR command to see the unhidden folders, and the CD command to navigate to whichever one you want. As noted earlier, be careful what you do at the command prompt.
 
Last edited:

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
I am honestly not sure if this is in the right forum here, but I am seeking assistance with resetting my command prompt in Windows 7. I have tried changing directories, cd to the C drive, but it always ends up at the path, C\Users\my name. Unfortunately, this limits where I can change directories, because I want to find directories like Program Files(x86), but this folder is not in C\Users at all. So please, how can I find a directory in the command prompt in Windows 7, if it is NOT in C\Users?? :confused:

You need to run an "elevated" command prompt: click the Start button and type "cmd" in the "Search programs and files" bar which will then show the "cmd.exe" icon. Right-click the icon and select "Run as administrator" which will open a command prompt window, with full administrative permissions, at C:\Windows\System32>.

To change directories from the current command prompt, type CD "C:\Program Files (x86)" as follows:

C:\Windows\System32>CD "C:\Program Files (x86)"

Note that correct commandline syntax requires that any path name that contains spaces e.g., Program Files (x86), Application Data, My Documents etc., must be enclosed within parentheses as shown above.


.
 
Last edited: