Setting "My Documents" and "My Pictures" to the same dir really not possible ?

K

Kevin Yu

I tried to set both system folders "My pictures" and "My documents" to the same folder

D:\mydata

The first assignment works without problems in MS Powertoy TweakUI->My Computer->SpecialFolders

However when I try to assign the second folder to D:\mydata suddenly the OK button gets greyed out/disabled
in the well known TweakUI Powertoys.

Why ?

Is there another way/tool for assignment ?

Can I edit (which ?) registry keys directly ?

Kevin
 
N

Newbie Coder

Kevin,

Both folders are special folders & Windows will get confused with the same
setting hence it won't allow you to change it. You can do it manually, but I
DON'T recommend you doing it.

START | RUN | Type 'regedit' (without quotes) & press ENTER

Naviagate to:


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders

In the right pane...


Here is why you shouldn't do it (simple programming example in VB.NET):


Imports System.Environment

Dim strDocs As String = GetFolderPath(SpecialFolder.Personal)
Dim strPics As String = GetFolderPath(SpecialFolder.MyPictures)

Would then return the same directory, which is the same in Windows

--
Newbie Coder
(It's just a name)


Kevin Yu said:
I tried to set both system folders "My pictures" and "My documents" to the same folder

D:\mydata

The first assignment works without problems in MS Powertoy TweakUI->My Computer->SpecialFolders

However when I try to assign the second folder to D:\mydata suddenly the
OK button gets greyed out/disabled
 
K

Kelly

Hi Kevin,

Some info:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders

To get an account's My Documents folder to appear in Windows Explorer (Files
stored on this computer), add/edit a key in the DocFolderPaths branch like
so:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths]
"user"="C:\Documents and Settings\user\My Documents"

--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top