I made the time (hey it's 22:27 and I'm at home ) to look further through Jan's whitepaper on HII and found the examples below, I will try these. Incidently I added the 'cmd' prefix after seeing another copy command in the automatically created WINPE script....
REMEXEC411=xcopy “I:\drivers\%Computer – System – Manufacturer%\%Computer – System – Model%” c:\drivers /E /S
REMEXEC411=xcopy /s i:\drivers c:\drivers
I'll let you know how I get on, however if you know these won't work or have any other advice please post a comment as the configuration of our 'secure browsing' Finjan solution prohibit's posts to this site and I won't be able to post until tomorrow evening...
1 of 1 people found this helpful
from the examples you have, i'm leaning toward the mapped drive part and the source path is not correct, but i dont know your whole osd script to verify.
can you post your whole osd script?
one quick troubleshooting step you can do is, take out the final line in your OSD script that causes the machine to automatically reboot. Then in WinPE you can open up the command prompt and run your xcopy command and see if you get an error.
also one more thing:
make sure there is destination directory. xcopy won't create a directory. so run mkdir before to create the directory if there is not one there.
xcopy be instructed to create the destination directory if it does not exist. This is done by giving the /i parameter to xcopy.
Thank you both, removing the reboot allowed me to run the xcopy command and it didn't like the \ on the end of c:\drv\ as it complained the directory didn't exist, you could argue it doesn't but then it wouldn't as it's not a valid... anyhow I remove the \ and all worked fine. Bjorn I will remember the /i switch for later jobs (I should of marked yours as helpful sorry...)