Jump to content
Sign in to follow this  
jbennett

Running a file with additional parameters

Recommended Posts

jbennett

Hi everyone,

Quick question

When opening a file in AutoIT from a server location. e.g. \\server.something.local\work\backup\test.cmd

How can I provide additional information to open that file like possible with a .lnk file (the target bit)

I would like to be able to do the following

run \\server.something.local\work\backup\test.cmd "server.something.local" <-this is basically like a target link with additional parametersyou can get in a .lnk file

Thanks

Edited by jbennett

Share this post


Link to post
Share on other sites
Pain

Look at ShellExecute() in the helpfile, it might be what you are looking for.

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.