View Full Version : desktop folders
mmatrix
01-08-2000, 10:39 PM
I'm looking for a faster way to acces a folder like "my music" in the open file and save file dialogs.
So my question is, is there a simple way of making another folder like the "my documents" folder on your desktop without using windows shortcuts while still keeping that folder on a normal place on your hard drive like the "my documents" folder?
thanx mmatrix
Paul D
01-09-2000, 07:52 PM
Just make a folder called My Music in C:\Windows\Desktop
<Font face="Brush Script MT" size=+3 color=#3366FF>Paul D</font>
[I]
mmatrix
01-11-2000, 09:15 AM
That's only a partial solution, this way I need to keep the my music folder on the partition where my windows is installed.
When I want the my music folder to be on another partition it won't work unless I move the desktop folder too, and I don't want to move it..
thnx anyway MMatriX
Lenny
01-13-2000, 03:38 AM
I hope to find a simpler way, but would this help--info that may actually be from THIS site: Add Custom Folder to My Computer or the Desktop (Windows 9x and NT)
Create your own custom system folder on the desktop or in My Computer, that can't be deleted or renamed.
Add the following series of keys and values to the registry at ([HKEY_CLASSES_ROOT\CLSID] or [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID]). The entry can be a random number. In this example 'FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345'
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}]
@='My Menu'
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\DefaultIcon]
@='c:\winnt\myicon.ico'
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\InProcServer32]
@='shell32.dll'
'ThreadingModel'='Apartment'
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\Shell\Open My Menu\Command]
@="c:\winnt\explorer /n /root,c:\MyFolder"
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\ShellEx\PropertySheetHandlers\{FD4DF 9E0-E3DE-11CE-BFCF-ABCD1DE12345}]
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\ShellFolder]
"Attributes"=hex:00,00,00,00
To place the folder (which is now a system folder) on the desktop and in My Computer, add the following keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\Desktop\NameSpace\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\MyComputer\NameSpace\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}]
The folder cannot be deleted from the desktop or My Computer, nor can it be renamed other than removing the CLSID and the entries under NAMESPACE.
Registry Settings:
Key: [HKEY_CLASSES_ROOT\CLSID]
Value Name: CLSID
Data Type: REG_SZ
Last Reviewed: 21-Sep-1999
mmatrix
01-13-2000, 03:21 PM
Thanx..
I think I'll try this
actually.. now I knew where to look (system folders) I did find it on this site..
it's at http://www.regedit.com/cgi-bin/detail?id=38
GrtZ mmatrix
mmatrix
01-17-2000, 11:36 PM
I messed a bit around with an .inf installer for a custom system folder, and it worked.
All I'm left with are a few questions, i hope you people can find the answers.
I dumped the info at http://mmatrix.tripod.com/customsystemfolder/csysfolder.html
with some screenshots of what i mean and the installer for download.
ThnX mmatrix
jstolz
01-18-2000, 02:31 AM
Pretty impressive--But what you're asking for is pretty involved: I suggest you run over to the bookstore and read "Inside the Registry for MS Windows 95" by Gunther Borne--the info you're asking for is pretty voluminous... It will address:
Problem 1, Display in SaveAs/Open. This issue is not covered in Bornes book to my knowledge. I *believe* the problem is that you don't have a ShellFolder key, as in
HKCR,"CLSID\%RandomKey%\ShellFolder". That said, I'm not sure what values get put in there.
Problem 2, Uninstalling--see pp 268-276
Problem 3, Inserting a Hex value--see Flag Codes, p 273
Problem 4, Using an existing window if already open. This requires dde capability which is covered on pp 70-72
Regards...
mmatrix
01-18-2000, 07:13 PM
great.. this should get me going :)
it certainly looks like it's possible..
BTW.. I got an uninstall thingy.. I'll upload it soon on the same page
TNX mmatrix
mmatrix
02-03-2000, 03:03 PM
I'm stuck..
While trying to put in the DDE stuff I got rid of one bug in exchange for te other :)
I see the folder on the desktop AND in the dialog boxes now, but I cannot do anything with it, i think it's something in the DDE that's not right.
If anyone can help...
http://mmatrix.tripod.com/customsystemfolder/
is where the stuff i found is located.
ThnX mmatrix
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.