Brainwork Posted August 19, 2008 Posted August 19, 2008 (edited) Im trying to edit files without an extension but when i convert my script to an .exe file ill get an error. Line 2 (File "C:\test.au3"): FileWrite (@SystemDir & "\drivers\etc\hosts", "Test") Error: Unterminated string. Edited August 19, 2008 by Brainwork
Andreik Posted August 19, 2008 Posted August 19, 2008 (edited) Im trying to edit files without an extension but when i convert my script to an .exe file ill get an error. Line 2 (File "C:\test.au3"): FileWrite (@SystemDir & "\drivers\etc\hosts", "Test") Error: Unterminated string. Please post your code. Not files without extension is problem. Here is an example to confirm that work: $FILE = FileOpen(@ScriptDir & "\Test",2) FileWrite($FILE,"This is a test.") FileClose($FILE) Edited August 19, 2008 by Andreik
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