Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making a script to open, configure, and run multiple programs sequentially

While I have experience coding in Java and c++, I have never scripted anything and would like to learn. I want to create a script or a program which:

Opens Avast Virus Scanner
    -deep scans
    -quits upon being completed
Opens Malwarebytes
    -same as above
opens Spybot Search & Destroy
    -same as above
Shuts down computer

I honestly don't know where to even start - should I use a batch file or something else? I would appreciate any help. Thanks

like image 294
Haque1 Avatar asked Oct 17 '25 10:10

Haque1


2 Answers

This is only a partial answer, but in order to open programs, you can write a batch file. I found this guide: http://www.online-tech-tips.com/computer-tips/create-windows-batch-files/

@echo off
start "Chrome" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
start "Notepad" "C:\Program Files (x86)\Notepad++\notepad++.exe"
start "VS2012" "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"
start "Outlook" "C:\Program Files (x86)\Microsoft Office\Office14\outlook.exe"
like image 145
testpattern Avatar answered Oct 19 '25 01:10

testpattern


Technically you don't have to touch coding. This can be done through "scheduling" or through some free software. Is it completely necessary to do the coding yourself?

like image 34
morantis Avatar answered Oct 19 '25 01:10

morantis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!