What is the path to My Documents? %My Documents%?
What do you enter into the Target field of a shortcut to create a shortcut to the "current" users My Documents? Windows 7, vista and XP info would be nice. Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6 gig DDR3 1600 RAM | 2x 500g SATA2 HDD | Integrated sound | Gainward Geforce 250gts "Deep Green" 1024MB PCI-E (latest drivers) | Windows 7 Home Premium x64 | Thermaltake 750watt Toughpower Power Supply | Thermaltake Armor+ MX case.
December 21st, 2010 10:59am

In Windows 7 & Vista it's: C:\Users\(User_Name)\Documents You will have to look at an XP system as I don't have on now and I don't remember for sure. Documents and Settings in XP was replaced by Users for the most part.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
December 21st, 2010 11:46am

Yeah but I want the target to point to a location that opens the current users My Documents folder. If 10 different users have this one shortcut then whoever double clicks it will see there My documents So if user "A" double clicks this shortcut while logged in then it opens User "A"'s My Documents where as if User "B" is logged in and clicks the exact same shortcut it opens User "B"'s My Documents. I don't want a hard coded path for a specific users My Documents folder. Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6 gig DDR3 1600 RAM | 2x 500g SATA2 HDD | Integrated sound | Gainward Geforce 250gts "Deep Green" 1024MB PCI-E (latest drivers) | Windows 7 Home Premium x64 | Thermaltake 750watt Toughpower Power Supply | Thermaltake Armor+ MX case.
December 21st, 2010 11:48am

You could use %userprofile%\documents as long as it hasn't been moved from this default location. If it has, you'd have to reference the document location from the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders This is how programs can determine their default save location, but you wouldn't be able to create a shortcut to a path named in a registry variable. If this was helpful, please vote by clicking the green triangle. If it solves the issue, click Propose as Answer. Thanks!
Free Windows Admin Tool Kit Click here and download it now
December 21st, 2010 12:08pm

Thanks very much.Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6 gig DDR3 1600 RAM | 2x 500g SATA2 HDD | Integrated sound | Gainward Geforce 250gts "Deep Green" 1024MB PCI-E (latest drivers) | Windows 7 Home Premium x64 | Thermaltake 750watt Toughpower Power Supply | Thermaltake Armor+ MX case.
December 21st, 2010 12:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics