Program files environmental variables
john doe
johndoe65534@mail.com
Tue Nov 23 09:02:16 GMT 2021
Cygwins,
Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in
Bash:
$ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)"; echo $PROGGRAMW6432
C:\Program Files
C:\Program Files(x86)
$ cmd.exe /C "echo %PROGRAMFILES% %PROGRAMFILES(x86)% %PROGRAMW6432%"
C:\Program Files C:\Program Files (x86) C:\Program Files
PROGRAMFILES works in Bash but not the other two.
I could not find anything relevent in the archive or when googling.
--
John Doe
More information about the Cygwin
mailing list