Switch to full style
User discussion and information resource forum for BootIt Bare Metal.
Forum rules
Post a reply

use a script and BIBM to make an image

Thu Jan 12, 2012 1:03 pm

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

Thu Jan 12, 2012 3:37 pm

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:
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

Thu Jan 12, 2012 6:56 pm

Thanks,

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