is it possible to close 'explorer.exe' by run command ? or by cicode?
B Thread Starter Bhargav Purohit Dec 25, 2011 #1 is it possible to close 'explorer.exe' by run command ? or by cicode?
P pvbrowser Dec 25, 2011 #2 > 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");
> 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");
P pvbrowser Dec 26, 2011 #3 > is it possible to close 'explorer.exe' Excuse me, i misunderstood your question. If you want to close another application you might send ALT-F4 to that application in order to close it. http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx
> is it possible to close 'explorer.exe' Excuse me, i misunderstood your question. If you want to close another application you might send ALT-F4 to that application in order to close it. http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx
B bhargav Dec 28, 2011 #4 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
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 May 11, 2012 #5 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
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