Description: |
call:Init |
Script: |
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
|
:Init -- initializes the environment for this command library
:$created 20060101 :$changed 20080219
:$source https://www.dostips.com
set ".=%~f0" & rem set full name, i.e. type %.%
set ":=call "%.%" " & rem set cl call prefix, i.e. %:%:func
set "?=&&echo.TRUE||echo.FALSE" & rem set true/false check, i.e. %:%:true %?%
set "*=%:%:set " & rem set array setter for console output, i.e. %*% d=dir /b
if not exist "%temp%" set "temp=%tmp%"
if not exist "%temp%" set "temp=c:\temp"
if not exist "%temp%" md "%temp%"
EXIT /b
|
|