Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
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 …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 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

12 Experts available now in Live!

Get 1:1 Help Now