dos - Using xcopy in a batch file with %programfiles% -
I am trying to help in setting up a build project to use a batch file. As part of that process, I need to copy a lot of files from a temporary directory:% temp% \ wcu to a new directory in the% programfiles% directory.
I am using the following command:
xcopy% temp% \ wcu \ dotnetframework \ *. *% Programfiles% \ "Microsoft SDK \ Windows v6.0A \ BootStrapper \ Package \ Dotnet Ficks 35S1" / S
The problem is that% programfiles% is "C: \ program Files "are leveled with one place and therefore the XPP throws a wobbly.
How to get an idea on this?
use quotes
xcopy "% temp% \ wcu \ Dotnetframework \ * * "% Programfiles% \ Microsoft SDK \ Windows \ v6.0A \ Bootstrapper \ Packages \ DotNetFx35SP1" / S
Comments
Post a Comment