DelphiFAQ Home Search:

InterBase, MS-SQL, mysql, Oracle
C#, C++, Delphi, Java,
JavaScript, perl, php, Visual Basic, VBScript
Apache, Network, Shell
Web Publishing
JavaScript, perl CGI, VBScript, Web Hosting
Apache, File Types, Internet Explorer,
Network, Printing, Processes
Outside the Cube
Auto, Computer Hardware,
Finances, Dating Scams,
Household, Male Dating Scammers,
Other Scams, Travel

Featured Article

The 'My Documents' folder is full - how to move it


How do I change the default location of the 'My Documents' folder so that any program that accesses it will go to the
new location? The reason I moved my documents is that I got a new hard disk and I want Windows and system files on the old and my personal files on the new hard disk.


The hard way to do it is to look in the registry and look for entries with the value
'c:\documents and settings\user1\My Documents' and replace those entries with the new value. (Amazingly, I saw more than one such entry when I moved the location of my Desktop.)

The main location for all special folders is:
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

The next better step is to use a utility called TweakUI from Microsoft:

In TweakUI the "Special Folders" section lets you view and edit the locations of the
various Windows special folders. Select the folder from the "Folder" section
and change it by clicking the "Change Location" button.
This is a per-user setting. You will need to log off and back on for the changes to take effect.

If you are running Windows 2000 or Windows XP, you can also directly change the location of 'My Documents' without using any tool. Right-click on the 'My Documents' folder and select 'Properties' and then choose a new target folder. It will offer to move your existing documents for you. This also is a per-user setting, so you each user has to do it for him/herself.

Generated 16:03:15 on Oct 21, 2019