how set a name of a unknown file in the folder be sth
Posted: 12 May 2011 05:06
Hi,
If a have a folder called "folderA"(in D:\), which consist of few files with name that i don't know
folderA
-unknownfile
-unknownfile
-unknownfile
I want to set the unknownfiles to be variables with a .bat
is it possible?
If a have a folder called "folderA"(in D:\), which consist of few files with name that i don't know
folderA
-unknownfile
-unknownfile
-unknownfile
I want to set the unknownfiles to be variables with a .bat
Code: Select all
cd D:
dir folderA /b>>%TEMP%/temp.ini
set variables1=firstlineoftheini
set variables2=secondlineoftheini
until the end
is it possible?