Jump to content

Recommended Posts

Posted

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

Posted

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:

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...