1.

Solve : Tokens??

Answer»

After the "for /blah blah TOKENS blah blah blah" command, what would tokens be? Are those like characters in a word or something, or pieces of stored DATA?All of your queries are not only nebulous in content but contain alot of blah blah blah...
What is your GOAL here ? ? Quote from: tommyroyall on February 24, 2010, 07:40:08 PM

After the "for /blah blah tokens blah blah blah" command, what would tokens be? Are those like characters in a word or something, or pieces of stored data?

Have you tried the /? switch on FOR YET? Quote from: tommyroyall on February 24, 2010, 07:40:08 PM
After the "for /blah blah tokens blah blah blah" command, what would tokens be? Are those like characters in a word or something, or pieces of stored data?

Tokens are the words of the input line.   The separator ( DELIMS) may be a space or a "/" or other separators.

For example:


C:\>type  twodate.bat


Code: [Select]for /f "tokens=1-4 delims=/ " %%d in ("%date%") do echo %%f%%e%%d
Output:

C:\>for /F "tokens=1-4 delims=/ " %d in ("Wed 02/24/2010") do echo %f%e%d

2402Wed

C:\>


Discussion

No Comment Found