I suspect you need to get familiar with some scripting language! I think qltools -w blah -w blah -w blah works, but not qltools -w *
Nagging hardware related question? Post here!
XorA wrote:I suspect you need to get familiar with some scripting language! I think qltools -w blah -w blah -w blah works, but not qltools -w *
Ok, here's a Windows batch file that will copy all files in a specific folder to a specific image file.
The batch file must reside in same folder as qltools.exe and per the 2nd last line of the code the image must reside in subfolder \images.
User will be prompted for image file name (full), and name of source folder (which also must be a subfolder).
Seems to work (Win7).
EDIT 24/03/14: The very latest version of the batch file & readme is available for download here:
Code: Select all
:: Batch QLTools to copy multiple files into image
:: Ian Johnston
echo QLTOOLS BATCH COPY FILES TO IMAGE (by Ian Johnston)
echo root folder = %CD%\
echo image folder = %CD%\images\
set /p Imagefile= Image file name (i.e. myimage.HFE)?
set /p Sourcefolder= Source folder (i.e. files)?
for /f "tokens=1* delims=:" %%A in ('dir /s /b^|findstr /n "^"') do (
for /l %%N in (1 1 %file.count%) do (
qltools images\%Imagefile% -W !file.%%N!
qltools images\%Imagefile% -d
Last edited by IanJ on Sun Mar 23, 2014 4:54 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 3 guests