Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I want to create an executable file (.exe) to do a certain job. I want to make a file that will allow me to:
1.)End a Process in the TaskManager
2.) Delete a file
3.) Delete a registry keyCan someone tell me how to do this? I have no experiance at all with programming. If you think that it will be hard seeing as i have no experiance then just tell me and i wont bother trying to do it. But thanks for the help anyway.
Ryan

As you have no programming experience is absolutely impossible you can do the job almost in reasonable time. Why otherwise so many people spend so much time attending programming classes?
So stated, the way to achieve what you wish is not to code an executable (.exe), but to set up a script (.bat or .vbs) supported by some third party utility.
What above explained is another proof of your poor knowledge of the issue. Maybe some guy may do the job for you if you give more detailed info.

You are asking for 3 different functions here. Should all be executed in one, or seperately??
Anyway, what you ask for can be done with a batch file. All you need to do is to paste the commands into notepad and save the file as a ".bat". Since you dont provide much information on how this script should work i cant provide you with so much info, but something to get you started.. Im not steady on how to edit registry with a batch, but it can be done.To delete a file:
del filename.xxxTo kill a process
taskkill /IM iexplorer.exeIf you want the script to ask you what process to kill or file to delete, you can write:
set /p file=File to delete?:
del "%file%"Remember you need to write the full path of where the file is located
set /p killProcess=Process to kill?:
taskkill /IM %killProcess%

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |