How can I access a .au3 file in "My Documents/Downloads" folder from another .au3 file?
I know how to access the file from the desktop from this code:
Run(@AutoItExe & ' "' & @ScriptDir & '\file2.au3"')
But I can't access it in "My Document/Downloads" folder. Basically I want to recursively call the same .au3 file again and again.
Just as an alternative, the way to run a program in the folder you want is:
Run(@AutoItExe & ' "' & @MyDocumentsDir & '\Downloads\file2.au3"')
Furthermore, if you want a method like the other one then you could use #include inside the loop.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With