Jump to content

Compile Run After


Recommended Posts

I am trying to create a custom script distribution program using the #Compiler_Run_After= directive. I want to be able to run a compiled script and pass it a parameter indicating what script is being compiled. I have tried all the combinations I can think of and cannot get the process to work. No parm causes an error because CMDLINE[] is empty. Any other parm doen not produce any execution that I can see.

This is what I coded:

#Compiler_Run_After="C:\ScriptDistributor.exe" "%out%"

Link to comment
Share on other sites

Try the exe without the inverted comma's. I find this works. With spaces, I have found 8.1 filenames seems to work. Anything other seems to return nothing.

#Compiler_Run_After=C:\ScriptDistributor.exe "%out%"
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...