Jump to content

Recommended Posts

  • Administrators
Posted

how to achieve that using autoit?

thx in advance

If it doesn't already exist, this is an easy way:

FileWrite("file.txt", "")


 

Posted

Opening a file for writing works as well (Don't forget to FileClose() the handle).

; Probably dangerous, but should work...
$file = "MyFile.txt"
FileClose(FileOpen($file, 2))
  • Administrators
Posted

Opening a file for writing works as well (Don't forget to FileClose() the handle).

; Probably dangerous, but should work...
$file = "MyFile.txt"
FileClose(FileOpen($file, 2))

Perfectly safe :ph34r:


 

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