December 6, 200619 yr Helo How do i use this to find my cdrom in Winnt.sif under [GuiRunOnce]egSET TAGG=\BOOTFONT.BINFOR %%i IN (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 %%i:\%TAGG%" SET CDROM=%%i:It dont work if i put it in like this i get an error in that line.
December 7, 200619 yr Hijust one of this stupid errorscheck the line! you have a single quotation mark, just delete it and you're fine.
December 7, 200619 yr Author it did not work.I have this in my winnt.sif now [GUIRunOnce]FOR %%i IN (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 %%i:\BOOTFONT.BIN SET CDROM=%%i:start /wait %CDROM%\SETUP\Runonceex.cmdcommand9="%SystemDrive%\DPsFnshr.exe"And i am geting this error. Line 23 in INF-FILE \PRO1\Winnt.sif is Wrong.I want to use the WINNT.SIF to installing a .CMD direct from the cdrom but i am missing something.
December 7, 200619 yr you can't run those commands directly from winnt.sif. You need to put them in a CMD file and run the CMD file from winnt.sif.So the FOR and the START lines should both be in the CMD file and then call the CMD file fron winnt.sif like the dpsfnshr.exe is.You did read this, and this right.
Create an account or sign in to comment