Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Media
New media
New comments
Search media
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Windows 10 Forums
Windows 10 Help and Support
How to change default "Download" & "My Documents" folders from commandline + Registry?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Meowkatt" data-source="post: 754694" data-attributes="member: 117571"><p>Oh thats an interesting idea. I also get what you meant, I typed meaning that I didn't know if changing the folder would automatically change the path already inputted into any game you're using or even the operating system. I can see renaming "My Documents" to "Mi Documents" would have games or installed programs still looking for "My Documents" instead of the updated name, thus losing functions of that program. I also couldn't easily test it as I was not at my computer.</p><p></p><p>For cmd:</p><p></p><p>you'd need to use reg add with the /f to overwrite it and also change the long word from hkey local.... etc... to HKCU,HKLM... etc. you can do reg add /? to see details on the command.</p><p></p><p>HKCU/rest/of/the/path /t REG_SZ /v value /d data you want change /f (to force the change)</p><p></p><p>reg_sz being a string, it could be another type like a multistring. I'll link the <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-add" target="_blank">microsoft docs</a> on reg add.</p><p></p><p>the path for some of the folder options would be:</p><p>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders</p><p></p><p>i believe this should be potentially repeatable with group policy as well through the windows components section.</p><p></p><p>go onto regedit and follow the path to do it directly in regedit instead of cmd.</p><p></p><p>Other than that i'm admittedly not certain, still i hope it helps <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>if not, what do you specifically want command line to do for you here? Op you mention changing the defaults, the default whats?</p></blockquote><p></p>
[QUOTE="Meowkatt, post: 754694, member: 117571"] Oh thats an interesting idea. I also get what you meant, I typed meaning that I didn't know if changing the folder would automatically change the path already inputted into any game you're using or even the operating system. I can see renaming "My Documents" to "Mi Documents" would have games or installed programs still looking for "My Documents" instead of the updated name, thus losing functions of that program. I also couldn't easily test it as I was not at my computer. For cmd: you'd need to use reg add with the /f to overwrite it and also change the long word from hkey local.... etc... to HKCU,HKLM... etc. you can do reg add /? to see details on the command. HKCU/rest/of/the/path /t REG_SZ /v value /d data you want change /f (to force the change) reg_sz being a string, it could be another type like a multistring. I'll link the [URL='https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-add']microsoft docs[/URL] on reg add. the path for some of the folder options would be: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders i believe this should be potentially repeatable with group policy as well through the windows components section. go onto regedit and follow the path to do it directly in regedit instead of cmd. Other than that i'm admittedly not certain, still i hope it helps :) if not, what do you specifically want command line to do for you here? Op you mention changing the defaults, the default whats? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Windows 10 Forums
Windows 10 Help and Support
How to change default "Download" & "My Documents" folders from commandline + Registry?
Top