Rico.JohnnY Posted September 8, 2004 Share Posted September 8, 2004 how to achieve that using autoit? thx in advance Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 8, 2004 Administrators Share Posted September 8, 2004 how to achieve that using autoit? thx in advance If it doesn't already exist, this is an easy way: FileWrite("file.txt", "") Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted September 8, 2004 Developers Share Posted September 8, 2004 how to achieve that using autoit? thx in advance <{POST_SNAPBACK}>FileWriteLine() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valik Posted September 8, 2004 Share Posted September 8, 2004 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)) Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 8, 2004 Administrators Share Posted September 8, 2004 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 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ 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