ddeerr Posted August 21, 2006 Posted August 21, 2006 Hi all, Everything is great with autoit 3.2.01 and update add to scite it's perfect I have just a little little issue with @HomePath dir on my work computer Oo when i try MsgBox(4096, "Program files are in:", @HomePath) it diplay me \ for result in another hand if i try with @HomeDrive it works. I'm working on windows2000 with updates but with my home XP it works. Can someone know where i can check that the @HomePath take the good information or something to use this Macro. tx
MHz Posted August 21, 2006 Posted August 21, 2006 Run this to check Environmental Variables $pid = Run(@ComSpec & ' /c set', '', @SW_HIDE, 2) $data = '' While 1 $data &= StdOutRead($pid) If @error Then ExitLoop WEnd MsgBox(0, 'Environmental Variables', $data) or just Set at a command prompt
ddeerr Posted August 22, 2006 Author Posted August 22, 2006 Run this to check Environmental Variables $pid = Run(@ComSpec & ' /c set', '', @SW_HIDE, 2) $data = '' While 1 $data &= StdOutRead($pid) If @error Then ExitLoop WEnd MsgBox(0, 'Environmental Variables', $data) or just Set at a command prompt HOMEPATH=\ tx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now