Friday, November 28, 2008 Tip of the Day: Using Enhanced DIR Command in R:BASE
Supported Versions: . R:BASE 7.6 for Windows (Build:7.6.5.31125 or higher) . R:BASE C/S:I 7.6 for Windows (Build:7.6.5.31125 or higher) . R:BASE Turbo V-8 for Windows (Build:8.0.19.31125 or higher) . R:BASE eXtreme for Windows (Build:9.0.1.31125 or higher) Did you know that the traditional DIR command has been enhanced to display new Windows output format? DIR command displays a list of a directory's files and sub-directories. Used without parameters, DIR displays the disk's volume label and serial number, followed by a list of directories and files on the disk, including their names and the date and time each was last modified. Example 01: http://www.rbase.com/rbg76/DIR_SHORTNAME_OFF.png (Default) For files, DIR displays the long name, extension and the size in bytes. DIR also displays the total number of files and directories listed, their cumulative size, and the free space (in bytes) remaining on the disk. If you wish to display the traditional output format, you can use the following new SET SHORTNAME ON command. The default is set to OFF. Example 02: http://www.rbase.com/rbg76/DIR_SHORTNAME_ON.png In addition, new SHOW SHORTNAME command will display the current setting and new (CVAL('SHORTNAME')) function will retrieve the current setting when used in a command file. The default RBENGINE76.CFG, RBENGINE8.CFG, or RBENGINE9.CFG files, when created from scratch, will also include the new default setting as SHORTNAM OFF. Enjoy the R:BASE you have always wanted! Very Best R:egards, Razzak.

