Lite-On Posted December 6, 2006 Share Posted December 6, 2006 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. Link to comment Share on other sites More sharing options...
ente Posted December 7, 2006 Share Posted December 7, 2006 Hijust one of this stupid errorscheck the line! you have a single quotation mark, just delete it and you're fine. Link to comment Share on other sites More sharing options...
Lite-On Posted December 7, 2006 Author Share Posted December 7, 2006 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. Link to comment Share on other sites More sharing options...
IcemanND Posted December 7, 2006 Share Posted December 7, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now