PDA

Click to See Complete Forum and Search --> : Virtual Folder


eformx
Sep 27th, 2000, 01:56 AM
Does anyone know how I can create a Virtual Folder like the Recycle Bin in Windows Explorer. Is it an api call or? Any tips or a link to some wonderful code would be great.
I want to create my virtual X drive for example and then create folders for the virtual drive (ex. x:\folder1\sample.vbp). Then I would like to map the files in these folders to an ftp site or some other location, perhaps the file names could reside in an ini file or database.

Thanks!

Rob

Sep 30th, 2000, 09:54 PM
You need to add desktop.ini and add the System attribute.

Desktop.ini:
[.ShellClassInfo]
ConfirmFileOp=0
Logo=C:\WINDOWS\web\biz_sl.gif
WideLogo=C:\WINDOWS\web\biz_wl.gif
IconIndex=0
IconFile="D:\Progra~1\microsoft Visual Studio\common\msdev98\bin\msdev.exe"
'icons

[ExtShellFolderViews]
Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262}

[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=file://C:\windows\web\vs.htt
'The Hypertext Template File