buzz44 Posted April 27, 2005 Posted April 27, 2005 I was just wondering why is @TempDir the only file path Macro that is in ShortName. qq
SlimShady Posted April 27, 2005 Posted April 27, 2005 (edited) I was just wondering why is @TempDir the only file path Macro that is in ShortName.<{POST_SNAPBACK}>E-mail Microsoft.Serious.@TempDir contains the value of the TEMP environment variable.It's default in Windows. Open a command box and type SET and see. Edited April 27, 2005 by SlimShady
buzz44 Posted April 27, 2005 Author Posted April 27, 2005 MsgBox(4096,"",lilTemp()) Func lilTemp() Return FileGetShortName(@TEMPDIR) EndFunc<{POST_SNAPBACK}>Sorry I dont get the point .@SlimShady, Interesting.Should this be in the helpfile? I only noticed it today when I went to pipe something from DOS and @TempDir worked but not @ScriptDir. qq
Nutster Posted May 2, 2005 Posted May 2, 2005 MsgBox(4096,"",lilTemp()) Func lilTemp() Return FileGetShortName(@TEMPDIR) EndFunc<{POST_SNAPBACK}>Shouldn't this be MsgBox(4096,"",lilTemp()) Func lilTemp() Return FileGetLongName(@TEMPDIR) ; Did someone write this function? EndFunc David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd...
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