How do you make "for" repeat until there are no more delimiters, ie.
Code: Select all
for /f "tokens=1, *. delims=;" %%a in ("%inputFile%") do (
...
)
when *. is the repeating anychar (to cycle until no delimiters left)
Code: Select all
for /f "tokens=1, *. delims=;" %%a in ("%inputFile%") do (
...
)
Code: Select all
ping 192.168.1.1 -n 1 -t 500>NUL
Code: Select all
mplay32 /play /close c:\windows\media\flourish.mid
Code: Select all
mplay32 /play /close c:\JukeBox\%choice%.wav
Code: Select all
@echo off
javac %1
REM this compiles .java file
java %1
REM for command to work I need to lose .java extension
pause