Jump to content

Recommended Posts

Posted

Hi all,

I know there is a simple work around for this... and I couldn't find it in the serch... so

as part of our "base build" on our systems, I am trying to execute a sus.reg file, but autoit only seems to work with .exe's

I am using the fileinstall()... but it chokes when I get to run("path\sus.reg")

should I just use something like

click "windows button +r"

send("path\sus.reg")

winwaitactive("sus window", "&ok")

send("{ENTER}")

cause I can just double click the file and it will execute?

and by typing it into the run box it also works...

just wondering what you thought is the "best" way

thanks

Posted

Hi,

have you tried

#include <Process.au3>
$rc = _RunDos("start Http://www.autoitscript.com")

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

nice... what kind of limits are there for the /s switch...

is it only for confirmation boxes... ones that just give you just then one clickable option "OK"

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...