pretender69, on May 30 2007, 06:39 PM, said:
wow 0.21 already, will do some tests with 0.21 when i get home,
was wondering if you could add ability to skip diskpart.txt settings, and maybe just a option to say 'format c: /fs:ntfs /q /y'
or format 'drive letter' /fs:ntfs /q /y
also is it possible to add ability to use ghost as well as imagex ?
btw thx for the great work you are doing on this project.
P.S. was just looking at the imagexhta file in 0.21 and some parts aren't in english ?
You can use diskpart to do the format c:\ for you, I assume you have only one disk.
diskpart.txt
select disk 0
select partition 1
format fs=ntfs label="system" quick
active
exit
There is already a Ghost HTA available, search the Winpe Section on this forum.
You can of course add a button here to start ghost32.exe
Make this sub
'*****************************************************************************
'Ghost32
'****************************************************************************
Sub Ghost32
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "Ghost32.exe" 'You have to put the necessery ghost files to WinPE path variable i. e. Windows\System32
End Sub
Then you must add the button to HTA:
[code]
<Button class = 'btn' id=capture onclick=Ghost32()> Ghost32 </Button>
[code]
I don't think that there is a point to make ghosting commands here, because there is so much of them.
This post has been edited by geezery: 30 May 2007 - 11:26 AM