Thursday, January 20, 2011 Tip of the Day: Capturing Common Operating System Folders
Does your application require the ability to send output to a User's directory, only the network contains several different operating systems? Perhaps the application must add a Favorite to the Internet Explorer menu bar. Or, it is needed that a specific Font be verified? Access to the all operating system specific common folders like the My Documents, Windows, and System folders are easily accessible using the latest GetCommonFolder Plugin that is part of the R:BASE Plugin Power Pack 9.0/9.1. The GetCommonFolder Plugin is used to capture fifty (50) of the most common operating system folders used frequently by applications, but which may not have the same name or location on any given system. Syntax: PLUGIN GetCommonFolder vFolder|FolderType Where: vFolder is the variable to return the text value of a given common operating system folder. FolderType is the name of the specific common folder type. Examples: --The following return the Common Programs folder PLUGIN GetCommonFolder vValue|COMMON_PROGRAMS SET VAR vResult = 'COMMON_PROGRAMS : ' + vValue; WRITE .vResult COMMON_PROGRAMS : C:\ProgramData\Microsoft\Windows\Start Menu\Programs --The following return the Windows folder PLUGIN GetCommonFolder vValue|WINDOWS SET VAR vResult = 'WINDOWS : ' + vValue; WRITE .vResult WINDOWS : C:\Windows --The following return the System folder PLUGIN GetCommonFolder vValue|SYSTEM SET VAR vResult = 'SYSTEM : ' + vValue; WRITE .vResult SYSTEM : C:\Windows\system32 --The following return the Program Files folder PLUGIN GetCommonFolder vValue|PROGRAM_FILES SET VAR vResult = 'PROGRAM_FILES : ' + vValue; WRITE .vResult PROGRAM_FILES : C:\Program Files (x86) In addition to a library of R:BASE Plugins, GetCommonFolder is included with the latest version of the R:BASE Plugin Power Pack 9.0/9.1. R:BASE Plugin Power Pack Online Help Manual: http://www.rbase.com/products/PluginPowerPack90 The updated R:BASE Plugin Power Pack files are available free of charge to existing users of the R:BASE Plugin Power Pack 9.0. mailto:[email protected]?subject=PluginPowerPack_Update Special upgrade pricing is available to existing users of the R:BASE Plugin Power Pack for versions 7.6 and Turbo V-8. mailto:[email protected]?subject=PluginPowerPack_Upgrade Very Best R:egards, Razzak. A. Razzak Memon R:BASE Developer and Trainer Founder, President and CEO R:BASE Technologies, Inc. 3935 Old William Penn Highway Murrysville, PA 15668-1854 1+724.733.0053 Phone 1+724.733.0196 Fax www.rbase.com

