eplrs Posted October 1, 2004 Posted October 1, 2004 have 3 ?'sI modified the startnet.cmd to launch to a network share. my problem is the delay in receiving a DHCP address to when my scripts kick off.1. is there a way to create a delay for X-seconds in XPE (sleep doesn't work)?startnet.cmdfactory -winpecls@echo offset AnswerFile=\\ap01u\dfs\SoftDist\Microsoft\Windows_XPSP1\xp_deploy\unatt.txtset SetupFiles=\\ap01u\dfs\SoftDist\Microsoft\Windows_XPSP1\xp_deploy\I386net use s: \\ap01u\dfs\softdist /user:?????? ?????? /persistent:noDiskpart /s \\ap01u\dfs\SoftDist\Microsoft\Windows_XPSP1\xp_deploy\diskpart.txtformat c: /fs:NTFS /v:winxp /q /x /y\\ap01u\dfs\SoftDist\Microsoft\Windows_XPSP1\xp_deploy\I386\winnt32 /SYSPART:C: /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang2. after install is complete I want to assign R: to my cd drive, I want this to happen without going through diskmanager. HOW?3.computer has 1 hard drive i have used Diskpart to create an 8gig part, and now i want to make the rest of the drive U: (NTFS, must also be a primary partition, no matter what size the drive)diskpart.txtselect disk 0cleancreate partition primary size=8192 select partition 1assign letter=cactivedetail diskexitplease help
eplrs Posted October 4, 2004 Author Posted October 4, 2004 Sorry topic should be need help with WinPe
EvilNotion Posted October 4, 2004 Posted October 4, 2004 You could try adding WSH support (using BuildOptionalComponents.vbs).. that might add enough of a delay. We do something very similar here and we don't have the issue you're talking about, but we load WSH support so it takes a little longer to get to the point when it tries to use the network share. If that's still not long enough you could launch a VBScript with a sleep command (since you'll have added WSH support).I don't know about the rest of your questions, sorry
eplrs Posted October 4, 2004 Author Posted October 4, 2004 I don't think that will work, because it connects to the network to get the diskpart info
crossgrid Posted October 4, 2004 Posted October 4, 2004 start /wait?? try thattype start /? and look at the /wait option
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now