Batch file for resetting My Documents

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

Is there a way to set a different target for the My Documents folder via a
batch file?

Jon
 
Use the REG.EXE utility that comes with Windows XP. Type REG /? in Command
Prompt.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
Change the Value data for "Personal"
 
Thanks, but this doesn't seem to take effect until after a reboot. Is there
any way to force a change without rebooting?

Jon.

Ramesh said:
Use the REG.EXE utility that comes with Windows XP. Type REG /? in Command
Prompt.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
Change the Value data for "Personal"

--
Ramesh, Windows XP MVP
http://windowsxp.mvps.org


Jon said:
Is there a way to set a different target for the My Documents folder via
a batch file?

Jon
 
Is there any way to force a change without rebooting?

Not sure if that can be done.


--
Ramesh, Windows XP MVP
http://windowsxp.mvps.org


Jon said:
Thanks, but this doesn't seem to take effect until after a reboot. Is
there any way to force a change without rebooting?

Jon.

Ramesh said:
Use the REG.EXE utility that comes with Windows XP. Type REG /? in
Command Prompt.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
Change the Value data for "Personal"

--
Ramesh, Windows XP MVP
http://windowsxp.mvps.org


Jon said:
Is there a way to set a different target for the My Documents folder via
a batch file?

Jon
 
Back
Top