EXE File Tips-Close exe file by using batch file
If you want to close any executable or exe file by code or runtime then you need to execute batch file in your programe. In batch file you need to write code following way.
@echo off
taskkill /F /im notepad.exe
Just copy code to notepad file and save in .bat extension. when you execute this batch file then notepad editor will be close if its open.
Send Exe file by mail
To send exe files through gmail via attachment there are two ways
First is you need to to compress the file using RAR or ZIP and send it via attachment.
another way is
remove the extension of .EXE then sent after receiving the file add an extension .EXE
If you want to close any executable or exe file by code or runtime then you need to execute batch file in your programe. In batch file you need to write code following way.
@echo off
taskkill /F /im notepad.exe
Just copy code to notepad file and save in .bat extension. when you execute this batch file then notepad editor will be close if its open.
Send Exe file by mail
To send exe files through gmail via attachment there are two ways
First is you need to to compress the file using RAR or ZIP and send it via attachment.
another way is
remove the extension of .EXE then sent after receiving the file add an extension .EXE