GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/_Archive/CST1861/CST1861/Archive/ |
Upload File : |
@echo off ::test_for_flags.cmd :: This example will test for the flags /a, /b, or /c :: Repeat flags are not allowed. :: You can have /a or /b but not both. Either is optional. :: /c is optional. setlocal :: Display help when the /? parameter is passed. set _cmd=%~n0 if NOT "%~1"=="/?" goto SkipHelp :Help echo Help would be displayed here. The command was: %_cmd%. goto:EOF :SkipHelp :next_parameter shift if /I "%~0" EQU "/a" goto:SetA if /I "%~0" EQU "/b" goto:SetB if /I "%~0" EQU "/c" goto:SetC set _save=%~0 if "%_save:~0,1%"=="/" goto:errorParameter if NOT "%~1"=="" goto:errorArgs if defined _a if defined _b goto:errorAB set _ goto:EOF :SetA if defined _a goto:errorA set _a=1 goto:next_parameter :SetB if defined _b goto:errorB set _b=1 goto:next_parameter :SetC if defined _c goto:errorC set _c=1 goto:next_parameter :errorA echo Cannot duplicate /a. echo. goto:Help :errorAB echo Cannot select both /a and /b. echo. goto:Help :errorArgs echo Too many arguments. echo. goto:Help :errorB echo Cannot duplicate /b. echo. goto:Help :errorC echo Cannot duplicate /c. echo. goto:Help :errorParameter echo Illegal parameter: %~0. echo. goto:Help