/build/static/layout/Breadcrumb_cap_w.png

Copy files from Petemp to C

Hi

I need to copy two files from the K2000 to the local C drive during a scripted installation.

I've learned you can put files into the \\K2000\petemp directory, so i tried to run following script as e KBE postinstallation task.

CD T:\petemp
XCOPY T:\petemp\script.bat C:\Windows\System32
XCOPY T:\petemp\Path_Deploy.vbs C:\Windows\System32
pause

And when I try to install my OS the boot environment prompts : 'could not find following files'.

Does anyone know a solution?

Thx in advance.


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
The correct syntax is XCOPY T:\script.bat C:\Windows\System32 XCOPY T:\Path_Deploy.vbs C:\Windows\System32
Posted by: UnderYens 11 years ago
Orange Senior Belt
3

Found it !

 

The correct syntax is

XCOPY T:\script.bat C:\Windows\System32

XCOPY T:\Path_Deploy.vbs C:\Windows\System32

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ