Solved

Need help with .bat file - Malwarebytes-Antiviruses-Remediation-Tool

Posted on 2014-11-26
3
478 Views
Last Modified: 2014-11-26
Greeting Experts:
I need help with a malware-Antiviruses tool called “Malwarebytes-Antiviruses-Remediation-Tool” command line functionally. This is a piece of software that can run on top of the Windows OS system w/o installing on the local C:\drive.  Currently I can run this tool via a .bat file and it has no problem running but the option to redirect the log files to custom location is not possible (i.e. Vender removed the log switches from the software). I was hoping somebody out in the Expert Exchange world could give me a hand and create add on to the bat file. So that it automatically redirect the log file to a network file directory location. The script I sent up is simple and just need help in redirecting the log file from default location “Malwarebytes\log\data\”

I have attached the two line .bat file and copy of the User Guide


Simple Script: 
E:\MalwareBytes\mbam.exe /update -silent
E:\MalwareBytes\mbam.exe /scan -flash -log -silent -remove

Open in new window


MBRTGuide.pdf
0
Comment
Question by:amstoots
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
footech earned 500 total points
ID: 40467592
It doesn't appear that there's any way to redirect the output.  Probably your best option would be to add a command to copy (or move) the files from the default location to your desired one.
move e:\Malwarebytes\log\data\*.* \\server\share

Open in new window

0
 

Author Comment

by:amstoots
ID: 40467865
Thanks that worked......
0
 

Author Closing Comment

by:amstoots
ID: 40467867
Thanks...
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question