Jump to content
Sign in to follow this  
Craberos

Fileopen Help

Recommended Posts

Craberos

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
Craberos

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  

×