|
|
|
Are you Booming or Fuming?TREASURES IN THE SAND - 20030205!Last week's Flying Rumor has landed! The new .Mount/\Command Set Release 2003.02.04 was discovered along the banks of the Net River, which rages down the slopes of Mount Knowledge! Over 200 Mount/\Commands were found! The entire script (MtCmds.cmd) is less than 25K and now loads in under 2 seconds!
The newest .Mount/\Command Set is UN-BE-lievable! Check this out! .ListFree
C:\GuardPost>%.ListFree% C:\GuardPost>SET #Free Due to limitations in the maximum permissible value of the SET /A command, values greater than 2 Million bytes are* displayed as 2000000000. But it gets BETTER...! .ListFreeM
Using One Million Bytes as our base value, we can correctly display and manipulate free space up to 2047 Terabytes! All values are ROUNDED DOWN to the nearest WHOLE Million (M=Exactly 1 Million Bytes). Using "M" (1000000) instead of "MB" (1048576), the output of .ListFreeM can be directly compared with other byte totals taken from the output of the DIR command. The Get[Value] series has also been greatly expanded. We can now retrieve values for:
C:\GuardPost>%.GetRole% In addition, the GetTempFile command provides a pseudo-random temporary file name to use within a script. You can invoke the command as many times as needed to retrieve multiple file names. The List[Value] series now includes the .ListFree and .ListFreeM commands noted above as well as other .M/\Cs to list:
C:\GuardPost>%.ListCD% The Net[Value] series now provides formatted lists of various network resources such as:
Example:
All utilities from the Common Command Set - External now have a %.Command% equivalent that provides a strong hold on the "Cord of Speed". Using "%.FindStr%" is faster than "FindStr" as %.FindStr% will expand to the fully qualified file name and extension. For Example, if Windows is installed in C:\WINNT, then %.FindStr% will expand to "C:\WINNT\System32\FindStr.exe". This can be considerably faster than the old way, especially in multiple iterations like a subroutine call or a FOR Loop. An additional benefit is the ability to easily specify an alternate location for all command-line utilities without changing any of your scripts. The "Redir Rapids" Series has been expanded to allow individual control over every command in your script. You can even force a particular command to display to the console, EVEN IF THE ENTIRE SCRIPT IS DIRECTED TO A LOG FILE! For example, the following lines will ALWAYS display to the local console, regardless of any other redirection in place: %.Show% Command {force STDOUT to the console} Other commands in the "Redir Rapids" Series: Silent (suppress STDOUT and STDERR)
IfEL[n], SetEL[n] and ExitEL[n] Series. These commands provide precise control for checking and setting errorlevels within a script, and for setting the errorlevel upon exiting a script, subroutine or command. Many different values of [n] are available and each command is dynamically adjusted using the "Cord of Compatibility" to obtain CONSISTENT RESULTS across all supported operating systems. If[Condition], IfNot[Condition] Series [Conditions] that are available to be tested are:
Examples: %.IfNotServer% ECHO:This machine runs a workstation OS Is[Pattern] IsNot[Pattern] Series Command1 Is[Pattern]
Command2 In either case Command2 will only be executed if the output of Command1 matches (or DOES NOT MATCH) the [Pattern]. Available [Patterns] are: Alpha - matches any upper or lower case letters (A-Z and a-z) Examples:
This series is also called "Bridge" commands. Think of it this way. You can only cross the "bridge" and execute Command2 if you match (or DO NOT MATCH) the [Pattern]. The "Restore[Value]" Series is also available to restore system or console parameters that were temporarily changed during your script back to their original state. Example Script:
The above is just a sampling of what's in Release 2003.02.04! We also construct custom Command Sets for your specific applications!
You can try out .Mount/\Commands for FREE by requesting the Advanced NT/2K/XP Command Library. This library has over 50 fully functional .M/\Cs including .TimeEcho. -------Begin (TimeStamp.cmd)------- 01. %.TimeEcho% Job Started -------End (TimeStamp.cmd)-------
The "Almost Free" Expert NT/2K/XP Command Library includes over 200 M/\Cs plus dozens of other Resources. More information is available at http://NTCmdLib.com The complete .Mount/\Command Set (Release 2003.02.04) is available separately starting at $7 or less with quantity discounts beginning at 5 or more. A small business network with 50 machines can license the entire Command Set for $5 or less per system! Release 2003.02.04 provides the most extensive (and fastest) command set we've ever released to the general public! Even on the slowest, most heavily loaded server in our Test Lab (P233MMX,128MB,NT4 Svr SP6a, ExchSvr 5.5 SP4, Norton Antivirus, PestPatrol, Intranet Server), the entire command set loads in UNDER 7 SECONDS! All of our products are completely written using ONLY what is available in ALL INSTALLATIONS of Windows NT4 SP6a, Windows 2000, Windows XP and Windows Server 2003. There is NO BINARY CODE, ONLY SCRIPTING COMMANDS!!! To start receiving BoomingOrFuming?, first register, then follow the instructions on the contact page. Space is limited and time is short, so reserve your spot today! |
|