Page 1 of 1

use a script and BIBM to make an image

Posted: Thu Jan 12, 2012 8:03 pm
by now_john
Can some tell me how to make a tbs script out of the line below?

c:\image.exe /b /uy /ui /d:d0@0x80 /f:d0@0x8281:"\2$~MM$$~DD$A-$~HHMM$" /max:4GiB /skp:0 /skh:0 /v /vb /comp:2

After that I plan to save it to the BIBM partition and run bootnow to run the script.

Re: use a script and BIBM to make an image

Posted: Thu Jan 12, 2012 10:37 pm
by TeraByte Support(PP)
The easiest way is usually to just save the script file directly from IFD GUI. Go through the steps to create the backup and select the Show Command button on the options screen. Then check the Save to File box and click OK. You can edit the line as necessary (e.g. add the "/uy /ui" options) and then save it to a file. Specify the .tbs extension and it will be saved as a TBS script.

It should be something like this:

Code: Select all

sub main()
     exec("C:\IMAGE.EXE /b /uy /ui /d:d0@0x80 /f:d0@0x8281:^"\2$~MM$$~DD$A-$~HHMM$^" /max:4GiB /skp:0 /skh:0 /v /vb /comp:2",1)
end sub

Re: use a script and BIBM to make an image

Posted: Fri Jan 13, 2012 1:56 am
by now_john
Thanks,

That worked perfectly. And now that I have a template it was easy to setup the other drives that I wanted to image.