Jump to content
Sign in to follow this  
Gregs

How to run BootVis.exe

Recommended Posts

Gregs

Hi!

I´m new in AutoIT and I need help

I would like to run cmd command: "c:\Program Files\Microsoft Bootvis\"BootVis.exe -prepsystem

I tried with Run and ShellExecute options but didn´t work.

Run ('C:\Program Files\Microsoft Bootvis\bootvis.EXE" "-prepsystem"', @WorkingDir)

Regards,

Grega Globocnik

Share this post


Link to post
Share on other sites
Andreik

Your syntax is not correct.

ShellExecute ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )

"C:\Program Files\Microsoft Bootvis\bootvis.EXE" is file name

-prepsystem is parameter

Use:

ShellExecute("C:\Program Files\Microsoft Bootvis\bootvis.EXE","-prepsystem")
Edited by Andreik

When the words fail... music speaks

Share this post


Link to post
Share on other sites
Gregs

Your syntax is not correct.

ShellExecute ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )

"C:\Program Files\Microsoft Bootvis\bootvis.EXE" is file name

-prepsystem is parameter

Use:

ShellExecute("C:\Program Files\Microsoft Bootvis\bootvis.EXE","-prepsystem")

Andreik thanks very much. It works great now.

How to close the Post?

Regards

Grega

Share this post


Link to post
Share on other sites
Andreik

Put SOLVE at name of this topic. You cannot delete topic.

Edited by Andreik

When the words fail... music speaks

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.