Revo Uninstaller commandline Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
User avatar
PuzzledGreatly
Posts: 865
Joined: 29 Sep 2013, 22:18

Revo Uninstaller commandline

19 Dec 2019, 21:38

I have revo uninstaller a3.2 and it has a commandline program, RevoCmd.exe. I've been trying to use ahk to run it to export a list of installed programs in html format but I can't get my command to produce a result:

Code: Select all

run,  C:\Program Files\VS Revo Group\Revo Uninstaller Pro\RevoCmd.exe /export "c:\test.html" /all /html
I see the command line box open and close but no file is saved.

The revo help file has:
Syntax:

RevoUninPro /export "Full export path" /all /traced /txt /xls /htm
where the parameters are:
/export - "Full path to the export file where the exported data will b
/all - "Export the list of all programs"
/traced - "Export the list of traced programs"
/txt - "Export the data in TXT file format - text file"
/xls - "Export the data in XLS file format - Microsoft Excel file"
/html - "Export the data in HTML file format - html file"

Example:
RevoUninPro /export "C:\My data\allprograms.txt" /all /txt
Does anyone know how I can get this to work? Thanks.
TAC109
Posts: 537
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Revo Uninstaller commandline

19 Dec 2019, 23:21

It is advisable to put quotes around the path\program to run:

Code: Select all

run,  "C:\Program Files\VS Revo Group\Revo Uninstaller Pro\RevoCmd.exe" /export "c:\test.html" /all /html
Edit: Without quotes AutoHotkey will try to guess what you want to run and occasionally get it wrong.

Also Windows generally doesn’t like you writing files directly to c:\
My programs:-
ReClip - a Text Reformatting and Clip Management utility
XRef - Produces Cross Reference lists for scripts
User avatar
PuzzledGreatly
Posts: 865
Joined: 29 Sep 2013, 22:18

Re: Revo Uninstaller commandline

20 Dec 2019, 08:00

Thanks for the reply, I should have mentioned that I tried the one you suggested and to a different drive. I've also tried putting quotes around everything , the verb *runas to run as admin and %ComSpec% but can't get a result.
tmplinshi
Posts: 1561
Joined: 01 Oct 2013, 14:57

Re: Revo Uninstaller commandline

20 Dec 2019, 12:23

Code: Select all

run,  cmd /k "C:\Program Files\VS Revo Group\Revo Uninstaller Pro\RevoCmd.exe" /export "c:\test.html" /all /html
See if there is any error messages in the cmd window.
User avatar
PuzzledGreatly
Posts: 865
Joined: 29 Sep 2013, 22:18

Re: Revo Uninstaller commandline

20 Dec 2019, 18:02

Thanks for the reply, the cmd window closes too quickly for me to see any messages and adding cmd /k didn't make any difference. Is that in the help manual. I couldn't find it.

Edit:

When I added extra quotes as follows the cmd window stayed open and I saw a list of installed programs but no file is saved:

Code: Select all

!F10:: run,  cmd /k ""C:\Program Files\VS Revo Group\Revo Uninstaller Pro\RevoCmd.exe" /export "d:\test.html" /all /html"
tmplinshi
Posts: 1561
Joined: 01 Oct 2013, 14:57

Re: Revo Uninstaller commandline  Topic is solved

21 Dec 2019, 00:48

I just installed "Revo Uninstaller Pro", executing RevoCmd.exe /? output this:

RevoCmd.png
RevoCmd.png (16.08 KiB) Viewed 679 times
There are no /export /all /html options. These options are coming from RevoUninPro.exe, not RevoCmd.exe.

Code: Select all

RunWait, "C:\Program Files\VS Revo Group\Revo Uninstaller Pro\RevoUninPro.exe" /export "d:\test.html" /all /html
Run % "d:\test.html"
ExitApp
User avatar
PuzzledGreatly
Posts: 865
Joined: 29 Sep 2013, 22:18

Re: Revo Uninstaller commandline

21 Dec 2019, 02:28

Thanks very much for taking the trouble to download and test Revo and for clearing up my confusion about which program to use. I couldn't follow what the help file was saying. Your code worked. Thanks again.

Return to “Ask For Help”

Who is online

Users browsing this forum: JerkyJesse and 35 guests