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: Help With File Paths

09 Dec 2010   #1
Anyok6

Windows 7 Ultimate x64
 
 
Help With File Paths

Hello, I know (am pretty sure >.<) that there is a way to do this.

I am trying to set a file path for a folder, but I need the folder to go to the current username, instead of my username. For example..

C:\Users\Matt\Documents\ - Is my current path

I want it to be C:\Users\*THEIR USER NAME*\Documents\


My System SpecsSystem Spec
.

09 Dec 2010   #2
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

Hello Anyok,

You can use the path below for a universal profile path instead.

%USERPROFILE%\My Documents

Hope this helps,
Shawn
My System SpecsSystem Spec
09 Dec 2010   #3
Anyok6

Windows 7 Ultimate x64
 
 

Found the answer to my own question

C:\Users\%username%\Documents\

Thanks anyways! =-]
My System SpecsSystem Spec
.


09 Dec 2010   #4
Brink
Microsoft MVP

64-bit Windows 10 build 10166
 
 

No problem mate.

There's no need to have C:\Users\%username% in the path though. Doing so will limit it.
%USERPROFILE% will be the same as that, but will open it no matter where the user profile is located.
My System SpecsSystem Spec
Reply

 Help With File Paths




Thread Tools





Similar help and support threads
Thread Forum
How do I display file paths when using Photos as a screen saver
I have just changed from XP where I used random photos as my screensaver and I had the option to show the file path which was an effective caption. With photos going back many years it was always enjoyable as the photos brought back memories. I am now using Photos as my screensaver in Windows 7 but...
Customization
Dos paths and unix paths conversion
I guess this may be a tiny bit off the subject here, but I am attempting this in windows 7. I have a program file manager tool called 'Directory Opus' that is capable of calling windows external programs and passing them the current directory the file manager is sitting on. So far so good. ...
General Discussion
Help understanding CBS.log file paths
So I've been trying to use system file checker, and encountered a problem where it can't repair a file. I found this page detailing how to manually fix the problem: Use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7 I was fine...
Performance & Maintenance
Two Paths To The Same File Question ?
Hello, A little background first. I have a shortwave radio that is of a new type where a lot of the functions such as filters, etc. is done via software that resides on the PC. The radio is mfg. by the WINRADIO company. The model of the radio is a G31 DDC After...
General Discussion
how to remove file dialog suggested paths?
Hi, When i open file dialog (saving/open files) i also get list of old path that are not existing any more. how i can remove it ? thanks.
General Discussion
Folder paths
I noticed that several programs are having problems linking to files in the My pictures folder. Adobe Photoshop Album (needed inorder to clean out and move on to new software) and a program called 7stacks (an icon link problem) are trying to link to the My pictures folder. They seem to be coded...
Music, Pictures & Video

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 12:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App