Jump to content

How to run BootVis.exe


Recommended Posts

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

Link to comment
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")
Edited by Andreik

When the words fail... music speaks.

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...