Jump to content

Recommended Posts

Posted

Hello all,

I created a file .au3 and complete it to .exe and creat a short cut, put in Desktop
 

 

   $file=FileOpen("text.txt",0)
   If $file = -1 Then
      FileClose($file)
      $file=FileOpen("text.txt",2)      
   EndIf

In original folder .exe had file text.txt, but when i run short cut a file text.txt created in my Desktop.

How to it check in original folder had file text.txt?

Thank all.

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
×
×
  • Create New...