|
Answer» I have a program that it can only START once (ex.msn messnger) and i like to RUN it many times i tryed copying file.exe into other names and runned them all in the same time using "start program.exe & start copy1.exe & start copy2.exe" and that worked, so if some one can help my with the batch, the batch file must 1-copy the original file into any name and 2-then it must kill existing processes of the program and the 3-starts the copies and the original the batch i made was : ------------------------------------------------------------------- @echo off cd "\Program Files\my prog" IF NOT EXIST copy1.exe ( xcopy /Q original.exe copy1.exe ) IF NOT EXIST copy2.exe ( xcopy /Q original.exe copy2.exe ) taskkill /F /IM original.exe /IM copy1.exe /IM copy2.exe start original.exe & start copy1.exe & start copy2.exe exit ------------------------------------------------------------------- if some one can help me makeing ADVANCED batch file (user can choose the number of files to copy and start -in this case they are 3 two copies and one original) and hiding the error messange ERROR: The process "copy2.exe" not found. this batch is important for many programs,,,,,,,, my other probles is when i USED bat2exe utility which i downloaded from this site and converted that same batch i got error messages:
Parameter format not correct - "\Program Bad command or file name File not found - original.exe 0 File(s) copied Bad command or file name Bad command or file name File not found - original.exe 0 File(s) copied Bad command or file name Bad command or file name File not found - original.exe 0 File(s) copied Bad command or file name i solved all problems except i couldnt figure away to make the number of files to be run optional for the user, i also like to ask is there is any was to make a GUI INTERFACE for my silent exe file i only need one option (do it) thats all
|