Sign in to follow this  
Followers 0
GaryFrost

Get Temp File Name

1 post in this topic

#1 ·  Posted (edited)

MsgBox(0, "Temp File", _GetTempFileName())

Func _GetTempFileName()
    $fso = ObjCreate("Scripting.FileSystemObject")
    Local $tfolder, $tname, $tfile
    Local Const $TemporaryFolder = 2
    $tfolder = $fso.GetSpecialFolder ($TemporaryFolder)
    Return @TempDir & "\" & $fso.GetTempName
EndFunc   ;==>_GetTempFileName
oÝ÷ Øg­jצ¥ø¥zv¦y©Ýr·µè­­ë®ø§+_¢»¬y«­¢+Ø)=ÁÐ ÅÕ½Ðí5ÕÍѱÉYÉÌÅÕ½Ðì°Ä¤()}5¥¸ ¤()Õ¹}5¥¸ ¤(%1½°ÀÌØíÍ}ѵÀô}
ÉÑQµÁ¥±9µ ¤((%1½°ÀÌØí¡}ѵÀô¥±=Á¸ ÀÌØíÍ}ѵÀ°Ä¤(%¥±]É¥Ñ ÀÌØí¡}ѵÀ°ÅÕ½Ðí!±±½Ü]½É±ÌÌìÌÌìÌÌìÅÕ½Ðì¤(%¥±
±½Í ÀÌØí¡}ѵÀ¤($ÀÌØí¡}ѵÀô¥±=Á¸ ÀÌØíÍ}ѵÀ°À¤(%5Í   ½à À°ÅÕ½ÐíQµÀ¥±UÍÅÕ½Ðì°¥±I ÀÌØí¡}ѵÀ¤¤(%¥±
±½Í ÀÌØí¡}ѵÀ¤(%¥±±Ñ ÀÌØíÍ}ѵÀ¤)¹Õ¹ìôôÐí}5¥¸((ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ì(ìÍÉ¥ÁÑ¥½¸è$$%}
ÉÑQµÁ¥±9µ(ìAɵÑȡ̤è$%±½Ñ¥½¸´Ý¡ÉѼÉÑѡѵÀ¥±(ì$$$$$$%ÁÑ ôÕÍѽ´ÁÑ Ñ¼ÉÑѵÀ¥±¥¸(ìIÅեɵ¹Ðè(ìIÑÕɸY±Õ¡Ì¤è%IÑÕɹÌɹ½µ±ä¹ÉÑѵÁ½ÉÉ䥱¹µ(ì$$$$$$%%ÉɽÈÑ¡¸ÉɽȥÌÍйµÁÑäÍÑÉ¥¹¥ÌÉÑÕɹ(ìUÍÈ
±±Q¥Àè$%}
ÉÑQµÁ¥±9µ¡m±½Ñ¥½¹l±ÁÑ¡ut¤
ÉÑÌѵÀ¥±(ìÕÑ¡½È¡Ì¤è$$%ÉäɽÍÐ(ì9½Ñ¡Ì¤è(ìÀô]¥¹½ÝÌѵÀ½±È½È]¥¹½Ý̽±È¥ÑµÀ½±È½Í¸ÌäíÐá¥ÍÐ(ìÄôMåÍÑ´½±È¡¹½Ðɽµµ¹¤(ìÈôÁÑ Ñ¼Ñ¡ÑµÁ½ÉÉ䥱̽±È(ìÌô
ÕÍѽ´ÁÑ ¡µÕÍÐÁÍÌÁÑ Ý¥Ñ Ñ¡¥ÌÙ±Õ¤(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}
ÉÑQµÁ¥±9µ ÀÌØí¥}
ÉÑ]¡ÉôÈ°ÀÌØíÍ}AÑ ôÌäìÌäì¤(%1½°ÀÌØíͼô=©
ÉÑ ÅÕ½ÐíMÉ¥ÁÑ¥¹¹¥±MåÍѵ=©ÐÅÕ½Ðì¤(%1½°ÀÌØíѽ±È°ÀÌØíѹµ(%1½°¹Õ´ÀÌØí]¥¹½Ýͽ±È°ÀÌØíMåÍѵ½±È°ÀÌØíQµÁ½ÉÉ影ȰÀÌØí
ÕÍѽµ½±È(%MÝ¥Ñ ÀÌØí¥}
ÉÑ]¡É($%
ÍÀÌØí]¥¹½Ýͽ±È($$%%¥±á¥ÍÑÌ¡]¥¹½ÝͥȵÀìÅÕ½ÐìÀäÈíѵÀÅÕ½Ðì¤Q¡¸($$$$ÀÌØíѽ±Èô]¥¹½ÝͥȵÀìÅÕ½ÐìÀäÈíѵÀÅÕ½Ðì($$%±Í($$$$ÀÌØíѽ±Èô]¥¹½ÝÍ¥È($$%¹%($%
ÍÀÌØíMåÍѵ½±Èì¹½ÐÝ¥±äÕÍ°½¸ÌäíÐɽµµ¹ÕÍ¥¹Ñ¡¥Ì±½Ñ¥½¸($$$ÀÌØíѽ±ÈôMåÍѵ¥È($%
ÍÀÌØíQµÁ½ÉÉå½±È($$$ÀÌØíѽ±ÈôQµÁ¥È($%
ÍÀÌØí
ÕÍѽµ½±È($$%%9ÕµAɵ̱ÐìÈQ¡¸IÑÕɸMÑÉÉ½È Ä°Ä°ÅÕ½ÐìÅÕ½Ðì¤($$$ÀÌØíÍ}AÑ ôMÑÉ¥¹IÁ± ÀÌØíÍ}AÑ °ÅÕ½Ðì¼ÅÕ½Ðì°ÅÕ½ÐìÀäÈìÅÕ½Ðì¤($$%%MÑÉ¥¹I¥¡Ð ÀÌØíÍ}AÑ °Ä¤ôÅÕ½ÐìÀäÈìÅÕ½ÐìQ¡¸ÀÌØíÍ}AÑ ôMÑÉ¥¹QÉ¥µI¥¡Ð ÀÌØíÍ}AÑ °Ä¤($$$ÀÌØíѽ±ÈôÀÌØíÍ}($%
ͱÍ($$%IÑÕɸMÑÉÉ½È Ä°Ä°ÅÕ½ÐìÅÕ½Ðì¤(%¹MÝ¥Ñ ($ÀÌØíѹµôÀÌØíѽ±ÈµÀìÅÕ½ÐìÀäÈìÅÕ½ÐìµÀìÀÌØíͼ¹ÑQµÁ9µ ¤(%1½°ÀÌØí¡}¥±ô¥±=Á¸ ÀÌØíѹµ°Ä¤(%%ÀÌØí¡}¥±ô´ÄQ¡¸IÑÕɸMÑÉÉ½È Ä°Ä°ÅÕ½ÐìÅÕ½Ðì¤(%¥±
±½Í ÀÌØí¡}¥±¤(%IÑÕɸÀÌØíѹµ)¹Õ¹ìôôÐí}
ÉÑQµÁ¥±9µ(

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites



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
Sign in to follow this  
Followers 0