Jump to content

pragma Compile(Out, ) -- deletes files if the output file names is ".exe"


Recommended Posts

If you put this line in your script and build it, files will be DELETED in the output dir ("R:\Temp" in this case):

#pragma Compile(Out, R:\Temp\.exe)

I've seen it delete ALL files in the dir, and I've seen it delete only files that start with the letter "A"... I don't know exactly what determines it.

Also building the .EXE takes longer than normal.

 

How I found out:  my blank .AU3 file template has this line in it:

#pragma Compile(Out, C:\PortApps\.exe)

and sometimes I forget to actually name the .EXE before I build it.

It's not a big deal -- I'm changing the filename in my template to "foo.exe" for now.

 

Edited by lee321987
Link to comment
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
 Share

  • Recently Browsing   0 members

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