Craberos Posted May 18, 2010 Share Posted May 18, 2010 i have been trying to open a txt file and it is not working the txt file is in the same folder as the script could anyone help me with this #Include <File.au3>$file=FileOpen("test.txt",0) FileClose($file)thanx a lot in advance craberos Link to comment Share on other sites More sharing options...
Developers Jos Posted May 18, 2010 Developers Share Posted May 18, 2010 This FileOpen() will work but my guess is that you want to launch notepad to show the file? If so look at ShellExecute(). 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...
Craberos Posted May 18, 2010 Author Share Posted May 18, 2010 This FileOpen() will work but my guess is that you want to launch notepad to show the file?If so look at ShellExecute().thanks a lot it worked 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