


:: application startup before continuing (we're either checking to If not, we'll prompt the user for their preference for :: Make initializing calls, then verify that the ZTreeWin location If it does not, the user is prompted for a

:: drive specification that contains a "ZTreeWin" :: NOTE: This script was designed to run from any valid :: 4) Assign script variables according to valid switches :: 3) Filter all valid switches from the command-line, :: 1) Temporarily store the Global environment (in XXX.TMP), :: The following code establishes the main ZTreeWin AND Set "_BKPATH="& Set "_TMPATH="& Set "_PARAMS=" Set "_ZTDRIVE="& Set "_BKDRIVE="& Set "_ZTPATH=" Set "_POWER=FALSE"& Set "_Echo=OFF"& Set "_E=F" Set "_BKUSE=FALSE"& Set "_REPAR=FALSE"& Set "_ZTFIND=FALSE" Set "_DEBUG=FALSE"& Set "_HELP=FALSE"& Set "_ZTWEXE=ZTW.EXE" :: Initialize the flags to accompany the allowable command. SetLocal EnableDelayedExpansion &:: Delay Var Expansion SetLocal &:: Local Environment Variables Only :: Limit scope of Script variables to this instance, enable :: with various user-defined command-line switches. :: Script used to selectively invoke ZTreeWin (either x32 or 圆4) (My previous attempt w/o the 'Code' option removed all backslash characters, probably interpreted as escape codes. By selecting the 'Code' option, this will presumably appear more legible to others. Hopefully, it will be more legible than the last one I'd posted for automated backup (using Robocopy). Since I thought others might be able to modify and use this for their own purposes, I decided to post it here. What is nice about this script is that a shortcut to it may be created which contains various switches to customize ZTW invocation per user preference. I'd been working on a script to invoke ZTreeWin.
