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: How can I find Windows 7 MyDocuments from command prompt?

05 Mar 2012   #1

Windows 7 Home Premium 64 bit
 
 
How can I find Windows 7 MyDocuments from command prompt?

Windows 7 will not start and I have been through the various repair and system restore processes with no success. Before doing a recovery, I have some files I would like to retrieve from the MyDocuments folder (pics, etc) but cannot find the directory from the command prompt. I have already copied some documents that were not in that folder, but I haven't been able to find the MyDocuments directory tree.

Thanks

My System SpecsSystem Spec
.

05 Mar 2012   #2

Microsoft Community Contributor Award Recipient

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

Hi Kirby and welcome to Seven Forums. My Documents is a junction point (a super link) and you won't see it in command prompt. You need to navigate to C:\users\{your name}\Documents which is the same disk location.
My System SpecsSystem Spec
05 Mar 2012   #3

MS Windows 7 Ultimate 64-bit SP1
 
 

At the command prompt use the commands
c:
to change to C drive if not in C drive

Then
cd\
to go to c:\

Now use the command
cd users\username\documents
where username will be your login/profile name.

You will be switched to My documents folder. From here you can copy the files to the target folder.
My System SpecsSystem Spec
.


05 Mar 2012   #4

Windows 7 Home Premium 64 bit
 
 

When I enter c:\cd\users\kirby\documents, i just get a bunch of other subdirectories, none of which contain my data files. But when I entered c:\cd\users\kirby\my documents, I get the following return text: c:\users\kirby\my documents. The problem is when I then enter dir, I get the system cannot find the path specified message. i can go further in the tree to my pictures with the same result when I enter dir. Am I missing a step here?

Thanks
My System SpecsSystem Spec
05 Mar 2012   #5
whs

Microsoft Community Contributor Award Recipient

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

My System SpecsSystem Spec
06 Mar 2012   #6

Microsoft Community Contributor Award Recipient

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

Quote   Quote: Originally Posted by kirby3 View Post
When I enter c:\cd\users\kirby\documents, i just get a bunch of other subdirectories, none of which contain my data files. But when I entered c:\cd\users\kirby\my documents, I get the following return text: c:\users\kirby\my documents. The problem is when I then enter dir, I get the system cannot find the path specified message. i can go further in the tree to my pictures with the same result when I enter dir. Am I missing a step here?

Thanks
C: transfers you to the drive. You should substitute C: with whatever drive the files are now on.

CD\ transfers you to the root folder of that drive.

You can then navigate anywhre on that drive with further CD commands.
My System SpecsSystem Spec
06 Mar 2012   #7

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by rraod View Post
At the command prompt use the commands
c:
to change to C drive if not in C drive

Then
cd\
to go to c:\

Now use the command
cd users\username\documents
where username will be your login/profile name.

You will be switched to My documents folder. From here you can copy the files to the target folder.
This is correct if you want to browse to the folder just press enter after each command highlighted in bold, but you don't need to.

Use "C:\Users\USERNAME\Documents". This will link to the My Documents folder under your user folder (C:\Users\USERNAME\My Documents).

If your pictures are under "C:\Users\USERNAME\My Pictures" use "C:\Users\USERNAME\Pictures".

My Music use "C:\Users\USERNAME\Music"

For example to copy all files including subfolders use something like this,
xcopy /qs "C:\Users\USERNAME\Documents\*.*" "D:\Backup\My Documents\*.*"

And I quote Kado897 - "You should substitute C: with whatever drive the files are now on."

If your using the the Recovery Console you can also try Copy & Paste - in Windows Recovery Console. You can do the same thing from the Open File dialog in Notepad if your using the Repair my computer from the F8 menu. Run notepad from the cmd line.
My System SpecsSystem Spec
06 Mar 2012   #8

MS Windows 7 Ultimate 64-bit SP1
 
 

You can also try to download Hiren's boot CD or UBCD4Win ISO files, burn it to a CD and and boot in to the CD. You will get into WinPE environment, which is similar to Windows XP's graphical user interface. Using this you can find the My Documents folder and copy the required files to a USB flash drive.
My System SpecsSystem Spec
06 Feb 2014   #9

Windows 7 Ultimate 64bit
 
 

Here is a quick and easy way:
c:
cd %userprofile%
My System SpecsSystem Spec
Reply

 How can I find Windows 7 MyDocuments from command prompt?





Thread Tools



Similar help and support threads for2: How can I find Windows 7 MyDocuments from command prompt?
Thread Forum
Solved Command Prompt Error on Windows 7 General Discussion
Help needed executing command prompt command General Discussion
windows 7 starter command prompt General Discussion
Windows Command Prompt says The System Cannot find the Path Specified General Discussion
Help me to get my command prompt working in Windows 7 General Discussion
Run administrative command prompt from command prompt General Discussion
Command Prompt From The Windows DVD Performance & Maintenance

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 10:56 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33