Jump to content

Create log file


Recommended Posts

Hi all,

I cannot create a log file using bellow script. can any one help me one this.

 

#include <File.au3>

Local $PcName = @ComputerName
Local $a = FileGetTime("C:\test\test.exe")
$atd = $a[2] & "/" & $a[1] & "/" & $a[0]
MsgBox(32,'',$atd)

;Local $Fname = ($PcName & "_" & $atd)
;MsgBox(32,'',$Fname)

Local $filecreate = FileOpen("C:\New folder\LOG\" & $atd & $PcName & ".log" , 1)

 

Edited by Rammanan
Link to comment
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
 Share

  • Recently Browsing   0 members

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