Hi All
i am trying ot user V2 for the first time and I am having problem with %userprofile% system variable. I am trying to run something simple:
run(`%userprofile`%\programs\nircmd.exe elevate wt)
but i am getting:
Error: Illegal character in expression.
Can anyone help me undestand the way to go in this matter with AHKV2?
[Mod edit: Moved topic from 'Scripts and Functions (v2)':]
%userprofile% in V2 problem...
Re: %userprofile% in V2 problem...
use GetEnv() function
learn how strings work in v2
read the docs tutorial
learn how strings work in v2
read the docs tutorial