Hey guys i was wondering how to load a variable from a file, anyone know?
thanks for any feedback
Domo!
:: ===== script starts here ===============
::
:: chuey.bat 2012-09-14 15:37:53.32
@echo off & setLocal enableDELAYedeXpansioN
set N=
for /f “tokens=* delims= ” %%a in (myfile) do (
set/a N+=1
set V!N!=%%a
)
set V
::====== script ends here =================
====================================
Life is too important to be taken seriously.
M2
sorry what i meant was how do i load more than 1 line out of a file
Domo!