?
Solved

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

Posted on 2014-11-26
3
Medium Priority
?
513 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 2000 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

AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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 …
Suggested Courses

762 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