is there a difference between"DELIMS=" and "Tokens=*"
Posted: 28 Dec 2021 02:37
AA=FOR /F "Tokens=*" %%V IN ('DIR') DO ECHO a
BB=FOR /F "DELIMS=" %%V IN ('DIR') DO ECHO a
CC=FOR /F "DELIMS=*&%^^&%" %%V IN ('DIR') DO ECHO a
DD=FOR /F "DELIMS=73k0s1j4" %%V IN ('DIR') DO ECHO a
i have been using BB for all my life, my logic was if you cant find the NULL string in a text file, then it gotta be the whole line, it has been working well and provenly well for me.
my logic for CC and DD was no one uses this kind of strange 73k0s1j4 delimers, so it gotta read the whole line. but CC didnt work.
i just found the meaning of AA, it means the whole line
could someone put words for BB CC DD for me? just few words would suffice. i dont understand(or remember) operators well, but i do well on the structure. now i am going to change all my working "DELIMS=" to "Tokens=*"
BB=FOR /F "DELIMS=" %%V IN ('DIR') DO ECHO a
CC=FOR /F "DELIMS=*&%^^&%" %%V IN ('DIR') DO ECHO a
DD=FOR /F "DELIMS=73k0s1j4" %%V IN ('DIR') DO ECHO a
i have been using BB for all my life, my logic was if you cant find the NULL string in a text file, then it gotta be the whole line, it has been working well and provenly well for me.
my logic for CC and DD was no one uses this kind of strange 73k0s1j4 delimers, so it gotta read the whole line. but CC didnt work.
i just found the meaning of AA, it means the whole line
could someone put words for BB CC DD for me? just few words would suffice. i dont understand(or remember) operators well, but i do well on the structure. now i am going to change all my working "DELIMS=" to "Tokens=*"