PC Problems Posted December 7, 2009 Author Share Posted December 7, 2009 Right, I figured out that the command goes in the startnet.cmd !! @ JaclazOk - so reading the post the CLJone "script" will fail with card readers, ok i get that.Now imagine your "code" is an aeroplane, the plane left the runway and went straight OVER MY HEAD until it ran out of fuel - lol :blink: What do I do with your code, copy it in to the startnet.cmd or something else? I used CLJone script and it worked, but version 1002a requires Jaclaz's code; please kindly clarify...Thank to all so far for your really helpful replies... Without whom etc...Mike Link to comment Share on other sites More sharing options...
jaclaz Posted December 7, 2009 Share Posted December 7, 2009 (edited) No, it won't "fail": it may prompt with an error message and you'll have to click on it to continue.This:set tagfile=OEMfor /f "tokens=1 delims=: " %%? in ('mountvol.exe ^|find ":\"') do ( dir %%?:\%tagfile% >nul 2>&1 && set CDDRIVE=%%?:)if not defined CDDRIVE ( goto EOF)Sets variable "tagfile" to value "OEM", runs, search for the value of the variable i.e. for the tagfile "OEM" and sets variable "CDDRIVE" to the found drive letter.If no drive is found with the tagfile, it ends the batch.The example previously posted:assumes "DVD.TXT" to be the tagfile, searches for it and sets variable "DVD" to the found drive letter.runs imagex using as source the found drive letter, applying the wim to drive C:you should be able to join the dots.... jaclaz Edited December 7, 2009 by jaclaz Link to comment Share on other sites More sharing options...
PC Problems Posted December 8, 2009 Author Share Posted December 8, 2009 TY JaclazI will attempt to join the dots later today Because this is primarily aimed at end users, I just need to add an ending...So at the end of the apply and bcdboot, I would like to echo "The system Recovery has finished successfully, please remove the DVD from the drive, and press any key to reboot..." How do I actually achieve this, how do i make any key = exit?Also this works like a dream so far, and completey recovers the partitions and OS in around 12 mins.... not bad.Thanks Mike. Link to comment Share on other sites More sharing options...
PC Problems Posted December 8, 2009 Author Share Posted December 8, 2009 :wacko: Ok its VERY simple pauseexit :blushing: Link to comment Share on other sites More sharing options...
jaclaz Posted December 8, 2009 Share Posted December 8, 2009 (edited) So at the end of the apply and bcdboot, I would like to echo "The system Recovery has finished successfully, please remove the DVD from the drive, and press any key to reboot..."Good. See if any of these work in that environment:http://www.technize.com/2008/07/11/four-wa...ray-in-windows/http://www.alexnolan.net/software/commandline.htmhttp://www.softpedia.com/progDownload/Ejec...load-41030.htmlhttp://www.techtalkz.com/tips-n-tricks/397...-tool-here.htmlRerun it and change the message to :"The system Recovery has finished successfully, please remove the DVD from the OPENED drive TRAY, and press any key to reboot..."We try to please end users, and we do it harder. jaclaz Edited December 8, 2009 by jaclaz 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