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/Lab04/ooga/ |
Upload File : |
@echo off :: SysInfo3.cmd :: Check if a parameter exists. @echo on ::if "%~1"=="" goto:Display @echo off :: The user wants the output in a file. :: Test that a folder with that name does not exist. @echo on :: Finds folders AND files ::if exist %1 echo goto:Folder :: This works but is complex ::dir %1 2>nul | find "Directory of" | find "%1" >nul & if NOT errorlevel==1 echo goto:Folder :: No longer works if exist "%~1\nul" echo goto:Folder :: This works always if exist "%~1\*.*" echo goto:Folder goto:EOF @echo off ::goto:EOF :: If a folder exists display an error :: if folder goto:Folder ::cls echo on echo hostname >%1 hostname >>%1 echo. >>%1 echo ver >>%1 ver >>%1 echo. >>%1 echo ipconfig /all >>%1 ipconfig /all >>%1 start notepad %1 goto:EOF :Folder color 0C cls echo A folder with the name %1 exists. Information displayed here instead. echo. goto:DisplayNocls :Display cls :DisplayNocls echo on hostname ver ipconfig /all @echo off pause