Mike:
Excellent utility, I can see a lot of uses for it. One quick question, is
there a switch for the "TEMP" or "TMP" directories? I currently use:

-- Set location of Temporary files
SET VAR vScratch = (ENVVAL('TEMP'))
IF vScratch IS NULL THEN
  SET VAR vScratch = (ENVVAL('TMP'))
ENDIF
IF vScratch IS NOT NULL THEN
  SET SCRATCH &vScratch
ELSE
  SET SCRATCH C:\
ENDIF

It would be nice to set this variable in one step...
Javier,

Javier Valencia, PE
President
Valencia Technology Group, L.L.C.
14315 S. Twilight Ln, Suite #14
Olathe, Kansas 66062-4578
Office (913)829-0888
Fax (913)649-2904
Cell (913)915-3137
================================================
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from all system and destroy all copies.
======================================================

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of MikeB
Sent: Friday, February 25, 2005 9:02 AM
To: RBG7-L Mailing List
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.

Reply via email to