Solved

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

Posted on 2014-11-26
3
457 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now