Jump to content

There should be instructions for shortcut parameters


Recommended Posts

I was annoyed by AdwCleaner the first time I ran it, because by default it created a folder on my C: drive (where I put absolutely nothing other than the OS if I can help it) and put its logs there. With the help of a command prompt query on the executable (AdwCleaner.exe ?), I got the idea for the Path parameters, and discovered to my great satisfaction that not only does the use of correct parameters stop the creation of an unnecessary folder on C:, but also puts the logs where they belong, in the same folder as the executable file. In my case, I created D:\Malware Tools\AdwCleaner and put the executable there. Then I made a shortcut to the .exe file with the Target line as follows: 

"D:\Malware Tools\AdwCleaner\AdwCleaner.exe" /scan /path "D:\Malware Tools\AdwCleaner"

That shortcut runs the scan, puts the log in D:\Malware Tools\AdwCleaner\Logs and prevents the creation of an entirely unnecessary intrusion into the C: drive.

 

Clean C drive.jpg

Malware Tools.jpg

Link to post
Share on other sites
  • Staff

***This is an automated reply***

Hi,

Thanks for posting in the AdwCleaner Help forum.
In order to help us assist you to resolve your issue, please post or attach your latest AdwCleaner log files with your post. https://support.malwarebytes.com/hc/en-us/articles/360039021593

Someone will reply shortly, but in the meantime here are a few resources which may help resolve your issue:

Thanks in advance for your patience.

-The Malwarebytes Forum Team

 

 

 

 

notify me.jpeg

mbst_advanced_gather_logs.jpg

mbst_get_started.jpg

mbst_getting_logs.jpg

mbst_log_saved_desktop.jpg

Link to post
Share on other sites
8 minutes ago, Wisewiz said:

was annoyed by AdwCleaner the first time I ran it, because by default it created a folder on my C: drive (where I put absolutely nothing other than the OS if I can help it) and put its logs there. With the help of a command prompt query on the executable (AdwCleaner.exe ?), I got the idea for the Path parameters, and discovered to my great satisfaction that not only does the use of correct parameters stop the creation of an unnecessary folder on C:, but also puts the logs where they belong, in the same folder as the executable file. In my case, I created D:\Malware Tools\AdwCleaner and put the executable there. Then I made a shortcut to the .exe file with the Target line as follows: 

"D:\Malware Tools\AdwCleaner\AdwCleaner.exe" /scan /path "D:\Malware Tools\AdwCleaner"

That shortcut runs the scan, puts the log in D:\Malware Tools\AdwCleaner\Logs and prevents the creation of an entirely unnecessary intrusion into the C: drive.

https://support.malwarebytes.com/hc/en-us/articles/360050633534-Commands-for-Malwarebytes-AdwCleaner

Full https://support.malwarebytes.com/hc/en-us/sections/360005837434-Learn

Edited by Porthos
Link to post
Share on other sites
6 hours ago, Porthos said:

But neither of those will show the average user how to make a shortcut to the .exe that puts the Logs folder where he/she wants he Logs folder to be. I understand now what those files are telling me, but they're way beyond most users looking to make the program use the folder of his/her choice.

Link to post
Share on other sites
  • Root Admin

I'm sorry but this software is provided free of charge to address malware removal threats. It is designed to be installed, ran, and if threats found remove them. As part of that installation it installs to a folder on the C: drive as most software does.

I'm sorry but we do not have documentation to show how to modify defaults. There are currently no plans to add such documentation at this time.

Hopefully the information provided by @Porthos has proven to be helpful for your own personal needs.

Thank you

 

Link to post
Share on other sites
Posted (edited)
On 6/11/2021 at 2:14 PM, AdvancedSetup said:

I'm not aware of using it that way but perhaps the Developer @jboursier may have other ideas for you.

Thanks

 

I've experimented with it, and made a further discovery that answers my questions:

 If you make a shortcut to the executable and edit the target line of the shortcut's Properties so that after the path to the executable that's already there you enter /path <path to the folder you have your executable in>, running it from the shortcut will produce a CLI for a moment, and then go to the usual GUI. Hitting Scan then will do exactly what you expect it to do, and you'll find that (1) the log is in the folder whose path you specified, and (2) there's no new AdwCleaner folder on C:.

Example from my PC: "D:\Malware Tools\AdwCleaner\adwcleaner_8.2.exe" /path "D:\Malware Tools\AdwCleaner"

This whole adventure began with my noticing and being annoyed by the default behaviour of AdwCleaner when I first tried it the other day: by default it creates a new folder on C: and stores its logs and settings there, no matter where you parked the downloaded program file (AdwCleaner.exe) when you got it. If you use this tiny shortcut hack, the program will put its records where you want them, and if you have used the program before and there is still an AdwCleaner folder on your C: drive, you can transfer its contents to the folder where you keep the executable, and delete the C:\AdwCleaner folder.

Edited by AdvancedSetup
corrected font issue
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
  • Recently Browsing   0 members

    No registered users viewing this page.

Back to top
×
×
  • Create New...

Important Information

This site uses cookies - 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.