...to launch 2 programs using one shortcut/icon? I want to launch Popcorn Time and Malwarebytes on same time (Malwarebytes blocks some bad URLs)

10 years ago*

Comment has been collapsed.

You can create a *.bat file and put this into it:

start program1 start program2

Replace program1 and program2 with whatever you want to start.

10 years ago
Permalink

Comment has been collapsed.

I tried it but it said me "Malwarebytes" not found and "Malwarebytes Anti-Malware" not found.

EDIT: I didnt know that I have to use names of exes. Now I know :)

10 years ago
Permalink

Comment has been collapsed.

Used Popcorn Time exe too but it doesn't start up.

10 years ago
Permalink

Comment has been collapsed.

You need to specify the full path...

start "" "D:/Programs/Some Program/Some program name.exe"
start "" "C:/Program Files/some other program/some file.exe"

And place that in a text file and rename it to whatever you want but replace .txt with .bat
NOTE: Be sure to use the quote marks exacly as I did, since the syntax for start is not self-explainatory.

If you still can't make it happen, then you should stop trying and just start them by their icons...

Additionally (but not entirely sure if this works), if you want the script to run when Windows starts you can make a shortcut or place the file directly in: %appdata%/Microsoft/Windows/Start Menu/Programs/Startup (just paste that in the address of file explorer window)

10 years ago
Permalink

Comment has been collapsed.

Thanks for your time and help. Only Malwarebytes starts from the bat file :)

10 years ago
Permalink

Comment has been collapsed.

Any errors ? You can add pause at the end of the script to make it require a key to continue so it doesn't close right away.

You could also do it without the start "" prefix, like Alientcp said, but you must use quotes around it because in case it contains a space.

So like:

"D:\Programs\Some Program\Some program name.exe"
"C:\Program Files\some other program\some file.exe"
pause

You don't need the pause command if it works fine.

10 years ago
Permalink

Comment has been collapsed.

Yes, a .bat file with its shortcut in the Startup folder will work as it supposed to. You can even create a .bat file with shutdown command to make an infinite restart loop ;)

10 years ago
Permalink

Comment has been collapsed.

Open a notepad.

Type

C:Program Filesmalwarebytesmalware.exe

c:popcorntimeprogram.exe

this is just a reference. You are the one that has the programs installed, you have the proper routes.
once you have it, rename that .txt to .bat either by showing the extensions or directly from the console.

for some reason the site is removing the slash

10 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

10 years ago
Permalink

Comment has been collapsed.

potatoe, potato. It still removed it.

\ Probably is like Digi says, i must type double. If you can see one, then that was the issue.

10 years ago
Permalink

Comment has been collapsed.

SG+ makes it an escape character apparently, to use backslash you must type it twice.

Careful on edit because it reverts to one backslash and you must add extra backslashes again.

10 years ago
Permalink

Comment has been collapsed.

You could create a script that executes the programs you want and launch that.

10 years ago
Permalink

Comment has been collapsed.

I love you dude. I had no idea about this program before, its beautiful ;u;

10 years ago
Permalink

Comment has been collapsed.

Which program? :)

10 years ago
Permalink

Comment has been collapsed.

You can also use windows task scheduler to launch a program automatically using the launch of another program as the "trigger"
Trigger = application 1
Action = launch application 2

10 years ago
Permalink

Comment has been collapsed.

Umm, only Malwarebytes Pro blocks bad URLs. You've got that, yeah? If you've got the free version, it doesn't do any sort of resident protection.

If you do, it runs at PC startup (or should), and you can right click its' icon in the tasktray to enable or disable "Malicious Website Protection". I fail to see the need for / use of a shortcut / .bat file to run its' main .exe.

10 years ago
Permalink

Comment has been collapsed.

Yes, I'm using the Pro version, but idk why it doesn't start up right after I start my PC. It starts up like after 15-20 minutes, so I sometimes have to run it on manually.

10 years ago
Permalink

Comment has been collapsed.

Hmm, that seems extremely fishy, as if something is blocking it / preventing it from starting. Perhaps you've got some malware / virus infection already. To be safe, I'd reboot to safe mode (with networking), and use MWB's Chameleon thingy to run MWB, update it, and run a full scan. I'd also download and use their rootkit scanner.

10 years ago
Permalink

Comment has been collapsed.

I don't want to start Malwarebyte with my PC (My PC is pretty slow when starting up) so I've disabled it. It just starts up after 20 mins. I scanned my PC with it and it found nothing. Also, it isn't really good idea to boot to safe mode, as Malwarebytes said that it'll block some things they want to scan. I also use their Rootkit scanner, AdwCleaner and sometimes Roguekiller ;)

10 years ago
Permalink

Comment has been collapsed.

"Also, it isn't really good idea to boot to safe mode, as Malwarebytes said that it'll block some things they want to scan"? This makes no sense.. Where does it say this?

10 years ago
Permalink

Comment has been collapsed.

Here is one place where it sais so.

This isn't really a false positive, but in your case, it's nothing to worry about since you've run it & triggered this from Windows safe mode. Fixing what mbam found sets the startup to automatic (enabled) again.
Main reason why this is targetted is because some malware do disable this service, so since we cannot determine whether this service is disabled by malware or because you run in Windows safe mode, hence why we detect anyway, just to make sur.

10 years ago
Permalink

Comment has been collapsed.

Closed 10 years ago by CarlEric.