Hey all again.
Having switched to Bart's PEBuilder, (building WinPE based on XPSP1) I've run into another snag. Is there no way to script a net use command so that it runs automatically after the network configuration is assigned? It works fine if I do it manually but my scripting always fails...
Thanks all.
Page 1 of 1
Drive Mappings in WinPE
#3
Posted 03 February 2004 - 11:23 PM
I agree with Gosh , just write your batch file store it in:
- %yourdir%:\i386\system32\mybatfile.bat
-Edit startnet.cmd:
--Your batch will be executed last..
This is basically how I did it to make my PE have the option to install OS's also.
- %yourdir%:\i386\system32\mybatfile.bat
-Edit startnet.cmd:
regsvr32 /s netcfgx.dll factory -minint netcfg -v -winpe net start dhcp net start nla a:\floppy.cmd mybatfile.bat
--Your batch will be executed last..
This is basically how I did it to make my PE have the option to install OS's also.
Share this topic:
Page 1 of 1



Help
Back to top










