Jump to content

%CDROM% in winnt.sif


Recommended Posts

Helo

How do i use this to find my cdrom in Winnt.sif under [GuiRunOnce]

eg

SET TAGG=\BOOTFONT.BIN

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


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.cmd

command9="%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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...