Page 1 of 1
Batch Files Win8 Program Files (x86)
Posted: Tue Jan 22, 2013 6:46 pm
by Tim K
Trying to write a batch file to copy the necessary run time dlls to a data directory. Whether I use %ProgramFiles(x86)% or explicitly with the spaces it can't find the files in the directory. This is the text copied straight from Windows Explorer: "C:\Program Files (x86)\ALASKA\XPPW32\runtime" (quotes are added.)
Re: Batch Files Win8 Program Files (x86)
Posted: Tue Jan 22, 2013 9:10 pm
by Auge_Ohr
Tim K wrote:Whether I use %ProgramFiles(x86)%
did you try it in a CMD Box ?
DIR %ProgramFiles(x86)% -> nothing
so try
DIR
"%ProgramFiles(x86)%
"\ALASKA\XPPW32\runtime
Re: Batch Files Win8 Program Files (x86)
Posted: Wed Jan 23, 2013 8:56 am
by Tim K
I figured out a workaround by having the batch file change to the source directory first. Thanks for getting my mind going in a different direction.