Sign in to follow this  
Followers 0
sublimnl

Running a program with command line options

4 posts in this topic

I'm trying to write a script to automatically uninstall Webshots from computers in our domain, however I keep getting the error "Could not open INSTALL.LOG file" from unwise.exe. Here is the line I am using to uninstall...

Run (@ProgramFilesDir & "\Webshots\Unwise.exe /a INSTALL.LOG", ".\")

Any ideas?

Thanks!

Share this post


Link to post
Share on other sites



I'm trying to write a script to automatically uninstall Webshots from computers in our domain, however I keep getting the error "Could not open INSTALL.LOG file" from unwise.exe.  Here is the line I am using to uninstall... 

Run (@ProgramFilesDir & "\Webshots\Unwise.exe /a INSTALL.LOG", ".\")

Any ideas?

Thanks!

what about when you set the workdir to the program dir ?

Run (@ProgramFilesDir & "\Webshots\Unwise.exe /a INSTALL.LOG", @ProgramFilesDir & "\Webshots")


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

That worked, thanks...I guess AutoIt sets the current directory to something else since the line I originally posted would not work if I left out the second parameter completely either. Thanks for the help though. :D

Share this post


Link to post
Share on other sites

That worked, thanks...I guess AutoIt sets the current directory to something else since the line I originally posted would not work if I left out the second parameter completely either.  Thanks for the help though.  :D

Actually I think it's a dos thing

When I type command in run in 98 I get the dir explore has open. When I do it in xp I always get the same dir all the time

Rick


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

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