set path=%path%;x:\ghostx:cd \ghostrem --- This will create primary OS drive configuration ---ghost32.exe /setosdrives /blind >> x:\ghost\startlog.txtif exist c:\backup\brian.cmd goto thirdif exist d:\backup\brian.cmd goto fourthif exist e:\backup\brian.cmd goto firstif exist f:\backup\brian.cmd goto second:first e:cd backupstart e:\backup\brian.cmdexit:secondf:cd backupstart f:\backup\brian.cmdexit:thirdc:cd backupstart c:\backup\brian.cmdexit:fourthd:cd backupstart d:\backup\brian.cmdexit
set path=x:\ghoststart ghost32.exe -clone,mode=load,src=bjk.gho,dst=1 -sure -rb
echo To exit WinPE and reboot the computer, remove the WinPE boot media and closeecho this Command Prompt window.echo.echo To exit WinPE and shutdown the computer, type 'shutdown' (without the quotes) echo at the prompt and press ENTER.echo.echo To restart Image for Windows, type 'imagew' (without the quotes) at theecho prompt and press ENTER.echo.:: Launch Image for Windows cd \program files\ifw start imagew
set path=%path%;x:\ghostx:cd \ghostrem --- This will create primary OS drive configuration ---ghost32.exe /setosdrives /blind >> x:\ghost\startlog.txtfor %%p in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%p:\backup\ set w=%%p%w%:cd backupbrian.cmd