Solved

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

Posted on 2014-11-26
3
503 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
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 …

691 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