Jump to content

Recommended Posts

Posted (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 by SlimShady
Posted

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

Posted

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 Nuttall
Nuttall 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...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...