Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Script run on Window OS

for /F " tokens=1 " %%I IN (D:\servers.txt) DO call D:\SendOut %%~nI

for /F "tokens=1 delims=:" %%I IN (c:\SR.txt) DO set ss="%%I"

Can anyone explain how these two line mean ? Tkx

What's the tokens, delims, the different parameter %%~nI and "%%I"

Tkx
Avatar of alisafia
alisafia

Avatar of AXISHK

ASKER

for /F "tokens=1 delims=:" %%I IN (c:\SR.txt) DO set ss="%%I"
now %ss% >> C:\%1.txt

Still couldn't understand what these two lines mean ? Any idea ?

Tkx
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial