Jump to content

Exe file run from foler and sub folder


Recommended Posts

FileRun Test.rar               image.png.3e17b1db9a6db5ca7c4b108659d4576e.png                    main script running in FileRunTest folder, exe files are in folders into it and also in its sub folder.
i want to run the "FileRunTest . au3 script to run .exe files one by one as listed in the script, i can run the exe file from the script dir. can anyone help me to make the script working to run exe file from its sub directory or folder under folder.

Link to post
Share on other sites

You can use relative references, although this is the same as using @ScriptDir unless you start using ..\ where you move up the folder structure.

Run(".\Web\Subfolder\filename.exe")

 

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

    No registered users viewing this page.

×
×
  • Create New...