mud409 Posted January 26, 2008 Posted January 26, 2008 is there some function out there that'll allow me to create a txt file similar to the methods filewrite and fileopen work? I'd like to setup a fileopen that creates the file if it does not exsist but I don't really want to use notepad to create the file. thanks in advance to any responses, if any...
madflame991 Posted January 26, 2008 Posted January 26, 2008 Read carefully what it says in the help file at the FileOpen function... "Both write modes will create the file if it does not already exist." Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others
Developers Jos Posted January 26, 2008 Developers Posted January 26, 2008 It will be created when you do the FileOpen(() . 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.
erezlevi Posted January 26, 2008 Posted January 26, 2008 is there some function out there that'll allow me to create a txt file similar to the methods filewrite and fileopen work? I'd like to setup a fileopen that creates the file if it does not exsist but I don't really want to use notepad to create the file. thanks in advance to any responses, if any...to see if the file exist I will let you find it your self using listview or something, for creating the file:$hFile = FileOpen("c:\doit.txt", 2 + 32) ; that is for unicode...fileclose $hFilefileopen should create the file for you!
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