accesing environment variable ProgramFiles Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Guest

accesing environment variable ProgramFiles  Topic is solved

28 Feb 2015, 12:19

These commands does none works:

Code: Select all

MsgBox  %A_PogramFiles%

show an empty box only the aceptar buttom

Code: Select all

MsgBox   A_PogramFiles
show A_PogramFiles the aceptar buttom. this is expected only for test

Code: Select all

MsgBox  % A_PogramFiles
show A_PogramFiles and the aceptar buttom. this is expected only for test

Code: Select all

MsgBox  %PogramFiles%
empty again

Code: Select all

MsgBox  PogramFiles
show PogramFiles and the aceptar buttom. this is expected only for test

Code: Select all

MsgBox  % PogramFiles
empty again

I'm trying to input to an edit box while installing a program to specify the home folder for the program and want to provided for different name according to language for the program files folder
so need to read the envirenment to get %ProgramFiles% and merge with my locations of choose within it.

AHK version 1.1.19.03
palogamers
Posts: 1
Joined: 28 Feb 2015, 11:54
Contact:

Re: accesing environment variable ProgramFiles

01 Mar 2015, 15:25

TLM wrote:MsgBox % A_ProgramFiles
LOL
Dumb of me didn't notice that mispelling
thanks very much TLM

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 352 guests