Smiley357 Posted February 3, 2009 Share Posted February 3, 2009 I was trying to set a variable that I will use as a file name to the date. Can someone help me with this? Thanks $month = @MON $day = @MDAY $year = @YDAY $name = $month_$day_$year Or something like this $name = @MON_@MDAY_@YDAY Link to comment Share on other sites More sharing options...
colafrysen Posted February 3, 2009 Share Posted February 3, 2009 do you mean like $name = @MON&"_"&@MDAY&"_"&@YDAY [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size] Link to comment Share on other sites More sharing options...
Zedna Posted February 3, 2009 Share Posted February 3, 2009 $name = @MON & "_" & @MDAY & "_" & @YEAR Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Smiley357 Posted February 3, 2009 Author Share Posted February 3, 2009 That was it. Thank you! Link to comment Share on other sites More sharing options...
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