Program Files via Batch File
Hello,
I'm trying to run a program from a batch file. Basically, the program will read the batch file and put the values in an array. The delimiter of the program in reading the batch file is " "/space(1). I know that running this command %ProgramFiles% in windows (via Run or CMD) will lead me to Program Files .
I already tried the following:
----> put %ProgramFiles% on the batch file that calls my program but it is not working.
directory.Exists(%ProgramFiles%) is false.
----> put Program Files on the batch file, it is treated as separate item in the array.
Any idea how will i locate program files via batch file without space on the word "Program Files"?
Thanks