eplrs Posted October 1, 2004 Share 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 Link to comment Share on other sites More sharing options...
eplrs Posted October 4, 2004 Author Share Posted October 4, 2004 Sorry topic should be need help with WinPe Link to comment Share on other sites More sharing options...
EvilNotion Posted October 4, 2004 Share 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 Link to comment Share on other sites More sharing options...
eplrs Posted October 4, 2004 Author Share Posted October 4, 2004 I don't think that will work, because it connects to the network to get the diskpart info Link to comment Share on other sites More sharing options...
crossgrid Posted October 4, 2004 Share Posted October 4, 2004 start /wait?? try thattype start /? and look at the /wait option 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