* Note: Virtual Folders will Not RETURN a Value.. Should have said
* Note: "MOST" Virtual Folders will Not RETURN a Value.. the MYDOCUMENTS Constant says that it is a Virtual Folder.. but the PERSONAL constant is also a Virtual Folder, but it maps a little differently and does return the folder you are trying to get, so use PERSONAL instead.. I didn't test all of them, just the more common ones. My Documents use to map directly, but (I think W2k) was changed to the current mapping scheme, so you could change its' actual target folder and still access it VIRTUALLY through the Windows Shell API. ----- Original Message ----- From: "David M. Blocker" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Friday, February 25, 2005 12:59 PM Subject: [RBG7-L] - Re: Shell Folder Location PLUGIN > Mike > > I tried this command: > > Plugins ShFolderLoc.rbl vRetVal|mydocuments > > and got for the variable "No physical folder for "mydocuments". > > At first I thought it was because this folder on my XP was not located on > the desktop. I copied it there, exited R:Base, came back in and tried the > command again and got the same answer > > David > > David Blocker > [EMAIL PROTECTED] > 781-784-1919 > Fax: 781-784-1860 > Cell: 339-206-0261 > ----- Original Message ----- > From: "MikeB" <[EMAIL PROTECTED]> > To: "RBG7-L Mailing List" <[email protected]> > Sent: Friday, February 25, 2005 12:12 PM > Subject: [RBG7-L] - Re: Shell Folder Location PLUGIN > > > > You didn't read the ReadMe.txt file did you? ;-)) It has the syntax for > the > > plugin, which is the standard approach like: > > > > Plugins PluginName.rbl vSomeVarToReceiveTheReturnValue|ArgList > > > > So the Syntax for this plugin might look like: > > > > Plugins ShFolderLoc.rbl vRetVal|personal > > > > That is a PIPE symbol between the vRetVal and Personal... > > > > Have Fun! > > > > ----- Original Message ----- > > From: "Jan Barley" <[EMAIL PROTECTED]> > > To: "RBG7-L Mailing List" <[email protected]> > > Sent: Friday, February 25, 2005 10:48 AM > > Subject: [RBG7-L] - Re: Shell Folder Location PLUGIN > > > > > > > Mike, > > > This looks like it could be a great plugin, but I don't think I'm using > it > > > correctly. I have tried the following: > > > > > > plugins shfolder.rbl profile > > > plugins shfolder.rbl personal > > > plugins shfolder.rbl mydocuments > > > > > > and keep getting the same result: > > > No Physical Folder For: "" > > > > > > I am quite sure that I am overlooking something (I haven't used plugins > > > before and am still very green in 7.1) Can you help? Thanks! > > > Jan > > > ----- Original Message ----- > > > From: "MikeB" <[EMAIL PROTECTED]> > > > To: "RBG7-L Mailing List" <[email protected]> > > > Sent: Friday, February 25, 2005 10:02 AM > > > Subject: [RBG7-L] - Shell Folder Location PLUGIN > > > > > > > > > > Razzak has added my ShFolderLoc.RBL Plugin to the > > > http://www.RBaseCommunity.com > > > > website. The Plugin will return the path of any "Actual" Folder by > > > passing in > > > > one of the listed constant values enumerated below. Please note that > > > "Virtual" > > > > folders listed DO NOT return a Value... > > > > > > > > > > > > * Note: Virtual Folders will Not RETURN a Value.. > > > > > > > > ADMINTOOLS = Version 5.0. The file system directory that is used to > > > store > > > > administrative tools for an individual user. The Microsoft Management > > > Console = > > > > = = = = (MMC) = = = = = will save customized > consoles to > > > this > > > > directory, and it will roam with the user. > > > > > > > > ALTSTARTUP = The file system directory that corresponds to the > user's > > > > nonlocalized Startup program group. > > > > > > > > APPDATA = Version 4.71. The file system directory that serves as a > > > common > > > > repository for application-specific data. A typical path is > C:\Documents > > > and > > > > Settings\username\Application Data. This CSIDL is supported by the > > > > redistributable Shfolder.dll for systems that do not have the > Microsoft > > > > Internet Explorer 4.0 integrated Shell installed. > > > > > > > > BITBUCKET = The virtual folder containing the objects in the user's > > > Recycle > > > > Bin. > > > > > > > > CDBURN_AREA = Version 6.0. The file system directory acting as a > staging > > > area > > > > for files waiting to be written to CD. A typical path is C:\Documents > and > > > > Settings\username\Local Settings\Application Data\Microsoft\CD > Burning. > > > > > > > > COMMON_ADMINTOOLS = Version 5.0. The file system directory > containing > > > > administrative tools for all users of the computer. > > > > > > > > COMMON_ALTSTARTUP = The file system directory that corresponds to > the > > > > nonlocalized Startup program group for all users. Valid only for > Microsoft > > > > Windows NT systems. > > > > > > > > COMMON_APPDATA = Version 5.0. The file system directory containing > > > > application data for all users. A typical path is C:\Documents and > > > Settings\All > > > > Users\Application Data. > > > > > > > > COMMON_DESKTOPDIRECTORY = The file system directory that contains > files > > > and > > > > folders that appear on the desktop for all users. A typical path is > > > > C:\Documents and Settings\All Users\Desktop. Valid only for Windows NT > > > systems. > > > > > > > > COMMON_DOCUMENTS = The file system directory that contains documents > > > that are > > > > common to all users. A typical paths is C:\Documents and Settings\All > > > > Users\Documents. Valid for Windows NT systems and Microsoft Windows 95 > and > > > > Windows 98 systems with Shfolder.dll installed. > > > > > > > > COMMON_FAVORITES = The file system directory that serves as a common > > > > repository for favorite items common to all users. Valid only for > Windows > > > NT > > > > systems. > > > > > > > > COMMON_MUSIC = Version 6.0. The file system directory that serves as > a > > > > repository for music files common to all users. A typical path is > > > C:\Documents > > > > and Settings\All Users\Documents\My Music. > > > > > > > > COMMON_PICTURES = Version 6.0. The file system directory that serves > as > > > a > > > > repository for image files common to all users. A typical path is > > > C:\Documents > > > > and Settings\All Users\Documents\My Pictures. > > > > > > > > COMMON_PROGRAMS = The file system directory that contains the > > > directories for > > > > the common program groups that appear on the Start menu for all users. > A > > > > typical path is C:\Documents and Settings\All Users\Start > Menu\Programs. > > > Valid > > > > only for Windows NT systems. > > > > > > > > COMMON_STARTMENU = The file system directory that contains the > programs > > > and > > > > folders that appear on the Start menu for all users. A typical path is > > > > C:\Documents and Settings\All Users\Start Menu. Valid only for Windows > NT > > > > systems. > > > > > > > > COMMON_STARTUP = The file system directory that contains the > programs > > > that > > > > appear in the Startup folder for all users. A typical path is > C:\Documents > > > and > > > > Settings\All Users\Start Menu\Programs\Startup. Valid only for Windows > NT > > > > systems. > > > > > > > > COMMON_TEMPLATES = The file system directory that contains the > templates > > > that > > > > are available to all users. A typical path is C:\Documents and > > > Settings\All > > > > Users\Templates. Valid only for Windows NT systems. > > > > > > > > COMMON_VIDEO = Version 6.0. The file system directory that serves as > a > > > > repository for video files common to all users. A typical path is > > > C:\Documents > > > > and Settings\All Users\Documents\My Videos. > > > > > > > > CONTROLS = The virtual folder containing icons for the Control Panel > > > > applications. > > > > > > > > COOKIES = The file system directory that serves as a common > repository > > > for > > > > Internet cookies. A typical path is C:\Documents and > > > Settings\username\Cookies. > > > > > > > > DESKTOP = The virtual folder representing the Windows desktop, the > root > > > of > > > > the namespace. > > > > > > > > DESKTOPDIRECTORY = The file system directory used to physically > store > > > file > > > > objects on the desktop = = = = = (not to be confused with > the > > > desktop > > > > folder itself) = = = = = . A typical path is C:\Documents and > > > > Settings\username\Desktop. > > > > > > > > DRIVES = The virtual folder representing My Computer, containing > > > everything > > > > on the local computer: storage devices, printers, and Control Panel. > The > > > folder > > > > may also contain mapped network drives. > > > > > > > > FAVORITES = The file system directory that serves as a common > repository > > > for > > > > the user's favorite items. A typical path is C:\Documents and > > > > Settings\username\Favorites. > > > > > > > > FONTS = A virtual folder containing fonts. A typical path is > > > > C:\Windows\Fonts. > > > > > > > > HISTORY = The file system directory that serves as a common > repository > > > for > > > > Internet history items. > > > > > > > > INTERNET = A virtual folder representing the Internet. > > > > > > > > INTERNET_CACHE = Version 4.72. The file system directory that serves > as > > > a > > > > common repository for temporary Internet files. A typical path is > > > C:\Documents > > > > and Settings\username\Local Settings\Temporary Internet Files. > > > > > > > > LOCAL_APPDATA = Version 5.0. The file system directory that serves > as a > > > data > > > > repository for local = = = = = (nonroaming) = = = = > = > > > > applications. A typical path is C:\Documents and > Settings\username\Local > > > > Settings\Application Data. > > > > > > > > MYDOCUMENTS = Version 6.0. The virtual folder representing the My > > > Documents > > > > desktop item. > > > > > > > > MYMUSIC = The file system directory that serves as a common > repository > > > for > > > > music files. A typical path is C:\Documents and Settings\User\My > > > Documents\My > > > > Music. > > > > > > > > MYPICTURES = Version 5.0. The file system directory that serves as a > > > common > > > > repository for image files. A typical path is C:\Documents and > > > > Settings\username\My Documents\My Pictures. > > > > > > > > MYVIDEO = Version 6.0. The file system directory that serves as a > common > > > > repository for video files. A typical path is C:\Documents and > > > > Settings\username\My Documents\My Videos. > > > > > > > > NETHOOD = A file system directory containing the link objects that > may > > > exist > > > > in the My Network Places virtual folder. It is not the same asNETWORK, > > > which > > > > represents the network namespace root. A typical path is C:\Documents > and > > > > Settings\username\NetHood. > > > > > > > > NETWORK = A virtual folder representing Network Neighborhood, the > root > > > of the > > > > network namespace hierarchy. > > > > > > > > PERSONAL = Version 6.0. The virtual folder representing the My > Documents > > > > desktop item. This is equivalent to MYDOCUMENTS. Previous to Version > 6.0. > > > The > > > > file system directory used to physically store a user's common > repository > > > of > > > > documents. A typical path is C:\Documents and Settings\username\My > > > Documents. > > > > This should be distinguished from the virtual My Documents folder in > the > > > > namespace. To access that virtual folder, use SHGetFolderLocation, > which > > > > returns the ITEMIDLIST for the virtual location, or refer to the > technique > > > > described in Managing the File System. > > > > > > > > PRINTERS = The virtual folder containing installed printers. > > > > > > > > PRINTHOOD = The file system directory that contains the link objects > > > that can > > > > exist in the Printers virtual folder. A typical path is C:\Documents > and > > > > Settings\username\PrintHood. > > > > > > > > PROFILE = Version 5.0. The user's profile folder. A typical path is > > > > C:\Documents and Settings\username. Applications should not create > files > > > or > > > > folders at this level; they should put their data under the locations > > > referred > > > > to byAPPDATA orLOCAL_APPDATA. > > > > > > > > PROFILES = Version 6.0. The file system directory containing user > > > profile > > > > folders. A typical path is C:\Documents and Settings. > > > > > > > > PROGRAM_FILES = Version 5.0. The Program Files folder. A typical > path is > > > > C:\Program Files. > > > > > > > > PROGRAM_FILES_COMMON = Version 5.0. A folder for components that are > > > shared > > > > across applications. A typical path is C:\Program Files\Common. Valid > only > > > for > > > > Windows NT, Windows 2000, and Windows XP systems. Not valid for > Windows > > > > Millennium Edition (Windows Me) . > > > > > > > > PROGRAMS = The file system directory that contains the user's > program > > > groups > > > > (which are themselves file system directories) . A typical path is > > > > C:\Documents and Settings\username\Start Menu\Programs. > > > > > > > > RECENT = The file system directory that contains shortcuts to the > user's > > > most > > > > recently used documents. A typical path is C:\Documents and > > > > Settings\username\My Recent Documents. To create a shortcut in this > > > folder, use > > > > SHAddToRecentDocs. In addition to creating the shortcut, this function > > > updates > > > > the Shell's list of recent documents and adds the shortcut to the My > > > Recent > > > > Documents submenu of the Start menu. > > > > > > > > SENDTO = The file system directory that contains Send To menu items. > A > > > > typical path is C:\Documents and Settings\username\SendTo. > > > > > > > > STARTMENU = The file system directory containing Start menu items. A > > > typical > > > > path is C:\Documents and Settings\username\Start Menu. > > > > > > > > STARTUP = The file system directory that corresponds to the user's > > > Startup > > > > program group. The system starts these programs whenever any user logs > > > onto > > > > Windows NT or starts Windows 95. A typical path is C:\Documents and > > > > Settings\username\Start Menu\Programs\Startup. > > > > > > > > SYSTEM = Version 5.0. The Windows System folder. A typical path is > > > > C:\Windows\System32. > > > > > > > > TEMPLATES = The file system directory that serves as a common > repository > > > for > > > > document templates. A typical path is C:\Documents and > > > > Settings\username\Templates. > > > > > > > > WINDOWS = Version 5.0. The Windows directory or SYSROOT. This > > > corresponds to > > > > the %windir% or %SYSTEMROOT% environment variables. A typical path is > > > > C:\Windows. > > > > > > > > > > > > > > > >
