Solved Help With File Paths

Anyok6

New member
Local time
9:07 PM
Messages
9
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 Computer

OS
Windows 7 Ultimate x64
CPU
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2
Motherboard
NVIDIA nForce 750i SLI ATX Intel Motherboard
Memory
(2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Graphics Card(s)
NVIDIA GeForce GTX 260 (Core 216 Superclocked Edition 896MB)
Sound Card
On-Board
Monitor(s) Displays
2x ASUS 21.5" 2ms(GTG) HDMI Widescreen 16:9 Full HD 1080P
Hard Drives
Seagate Barracuda 1TB 7200 RPM SATA 3.0Gb/s 3.5
PSU
OCZ ModXStream Pro 700W ATX12V V2.2 / EPS12V
Case
Sunbeam Transformer Black Steel ATX Full Tower
Hello Anyok,

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

%USERPROFILE%\My Documents

Hope this helps,
Shawn
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Found the answer to my own question

C:\Users\%username%\Documents\

Thanks anyways! =-]
 

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2
Motherboard
NVIDIA nForce 750i SLI ATX Intel Motherboard
Memory
(2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Graphics Card(s)
NVIDIA GeForce GTX 260 (Core 216 Superclocked Edition 896MB)
Sound Card
On-Board
Monitor(s) Displays
2x ASUS 21.5" 2ms(GTG) HDMI Widescreen 16:9 Full HD 1080P
Hard Drives
Seagate Barracuda 1TB 7200 RPM SATA 3.0Gb/s 3.5
PSU
OCZ ModXStream Pro 700W ATX12V V2.2 / EPS12V
Case
Sunbeam Transformer Black Steel ATX Full Tower
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top