hey all,
I've forgotten how to pull the fist line of a txt file into a variable. I thought it was..
set var=<<C:\test.txt
but it doesn't work!!
All i'm trying to capture is a single word, so it should be nice and easy.
(also I've lost all my old batch files so can't look up whats I've done before.)
Cheers in advance
I've forgotten how to pull the fist line of a txt file into a variable. I thought it was..
set var=<<C:\test.txt
but it doesn't work!!
All i'm trying to capture is a single word, so it should be nice and easy.
(also I've lost all my old batch files so can't look up whats I've done before.)
Cheers in advance