Craberos 0 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 Share this post Link to post Share on other sites
Jos 2,209 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. Share this post Link to post Share on other sites
Craberos 0 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 Share this post Link to post Share on other sites