Sign in to follow this  
Followers 0
Craberos

Fileopen Help

3 posts in this topic

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



This FileOpen() will work but my guess is that you want to launch notepad to show the file?

If so look at ShellExecute().


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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 :idea:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0