kurt476 Posted January 24, 2005 Share Posted January 24, 2005 is there a switch that will ask you too insert cd #1 or 2? i need a message box that ask's you and and i'm hiding the command window durning when it ejecks the cd rom for it too ask please insert#1 or someing like that.here is my code:CLS@echo offTITLE STARTING UP windows-POST-INSTALL%systemdrive%\install\wpi\cmdow.exe @ /HIDREGEDIT /S %systemdrive%\install\wpi\common\Prefetch.regREGEDIT /S %systemdrive%\install\wpi\common\WPI.regCDR OPEN F:SLEEP.exe 50CDR CLOSE F:start /wait %systemdrive%\install\wpi\WPI.hta /prefetch:1exitso is there a switch for it too ask you for the #? of the cd? Link to comment Share on other sites More sharing options...
Lucius Snow Posted January 24, 2005 Share Posted January 24, 2005 I think you can do something like that with nircmd tool :http://www.nirsoft.net/utils/nircmd2.html#using Link to comment Share on other sites More sharing options...
kurt476 Posted January 24, 2005 Author Share Posted January 24, 2005 how come i can't get the message box too say please insert wpi cd#1 into cdrom drive f:?i tryed my way:cdr F: Nircmd.exe show please insert wpi cd#1 into the cdrom drive F: Link to comment Share on other sites More sharing options...
Lucius Snow Posted January 24, 2005 Share Posted January 24, 2005 Try :Nircmd.exe infobox "please insert wpi cd#1 into the cdrom drive F:" Link to comment Share on other sites More sharing options...
kurt476 Posted January 25, 2005 Author Share Posted January 25, 2005 that works thanx alot. can tell me why the tilite bar says error? Link to comment Share on other sites More sharing options...
CHANDER Posted January 25, 2005 Share Posted January 25, 2005 Well im asuming it shows an error dialogue...hence errorEdit: the syntax is infobox [message text] [title] Its in the help 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