I have written and autoit script and it works perfectly.
However I need it to run using windows task scheduler. The first thing it does is open up a Microsoft access database.
I use the shellExecute command to open the database
ie ShellExecute("\\myServer\Data\Documents\Reports.accdb")
However when I run the script from the windows task scheduler the access database does not open. The rest of the script runs fine.
How do I get this to work?
Thanks
Simon