It works fine but when i compile it to an exe, it stops while starting a program.
The messenger should start if its not already started.
Code: Select all
@echo off
tasklist | findstr /i trillian.exe 1>NUL 2>&1 || F:\Trillian\Trillian.exe
tasklist | findstr /i skype.exe 1>NUL 2>&1 || F:\Skype\Phone\Skype.exe
tasklist | findstr /i xfire.exe 1>NUL 2>&1 || F:\Xfire\Xfire.exe
sleep 15
xcopy /S /Y F:\Xfire\sounds.bak\sounds F:\Xfire\sounds