Batch Files Win8 Program Files (x86)

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
Tim K
Posts: 51
Joined: Thu Jun 03, 2010 3:55 pm

Batch Files Win8 Program Files (x86)

#1 Post 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.)

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Batch Files Win8 Program Files (x86)

#2 Post 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
greetings by OHR
Jimmy

User avatar
Tim K
Posts: 51
Joined: Thu Jun 03, 2010 3:55 pm

Re: Batch Files Win8 Program Files (x86)

#3 Post 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.

Post Reply