Sign in to follow this  
Followers 0
jbennett

Running a file with additional parameters

3 posts in this topic

#1 ·  Posted (edited)

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



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

Share this post


Link to post
Share on other sites

thanks I will try that

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  
Followers 0