windows run command

> is it possible to close 'explorer.exe' by run command ? or by cicode?

In C programming language:

system("explorer.exe"); // or
system("explorer.exe C:\\directory\\where\\to\\start");
 
I'm preparing shell for my computer so when specific program is running. just to close explorer.exe so no body can use it . . Later on
i can open shell by running explorer.exe
 
B

Bhargav Purohit

Here is the solution:
open notepad and write following line.

taskkill /f /im explorer.exe

now Save as : anything.bat (batch file)

now just double click on it to close the explorer.

to open explorer again, press Alt+Ctrl+Del and go to task manager. From file menu, click > New Task
type: explorer.exe > OK

Regards,
Bhargav Purohit
 
Top