A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old June 10th 07, 09:58 AM posted to microsoft.public.windowsxp.general,microsoft.public.windowsxp.help_and_support
Kevin Yu
external usenet poster
 
Posts: 18
Default Setting "My Documents" and "My Pictures" to the same dir really not possible ?

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

Ads
  #2  
Old June 10th 07, 12:36 PM posted to microsoft.public.windowsxp.help_and_support
Newbie Coder
external usenet poster
 
Posts: 1,595
Default Setting "My Documents" and "My Pictures" to the same dir really not possible ?

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\Curre ntVersion\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" wrote in message
...
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



  #3  
Old June 10th 07, 07:50 PM posted to microsoft.public.windowsxp.help_and_support
Kelly
external usenet poster
 
Posts: 1,401
Default Setting "My Documents" and "My Pictures" to the same dir really not possible ?

Hi Kevin,

Some info:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell
Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\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\Curr entVersion\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


"Kevin Yu" wrote in message
...
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 02:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.