Sign in to follow this  
Followers 0
Gregs

How to run BootVis.exe

4 posts in this topic

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



#2 ·  Posted (edited)

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

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

#4 ·  Posted (edited)

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