Then change it to Tskill
Reference:
http://commandwindows.com/taskkill.htm
Like i said, I haven't used batch in a very long time.
Edit: I see you got it.
Restarted and it just closes and reopens explorer. Still not working
Found the Answer!
I run 3 separate files in the startup folder.
The first is called 'Kill Shell Script.bat'
Because it kept restarting explorer.exe after I ran the command just as it would if explorer.exe crashed, I run a command that is constantly refreshing:
Code:
@echo off
title Shell Kill
:1
tskill explorer
cls
goto 1
I know it is messy, but it does the job in the background, it terminates any explorer.exe instance that tries to start... it may take a bit of power out of the machine, but its a simple program that it is dedicated to, so meh.
The second is a more user friendly ui, I guessed that since explorer.exe would not run, there would be no decent way to shut off the pc, or run anything else, although I can just press the power button once and it will shut off, it is still quite useful for anyone else who will try to use this and it is a useful command for other uses such as reinstating the explorer.exe interface, pinging, et cetera. It starts off as a batch command that pings Google.com, firstly to check for a connection to the internet, which is vital, especially when my internet here is very unreliable and I use an ICS Bridge connection to the internet through my main laptop, it then clears the screen with the CLS command and then explains how the UI works, before converting into a CMD instance:
Code:
@echo off
title Ashley's Logon Script
ping google.com
cls
echo.
echo Welcome to Ashley's Logon Script... This machine is solely
echo for running GRLevel3 Amongst other software. Type in 'Shutdown'
echo into this console to shutdown...
echo.
echo It may also be helpful to run a Web Browser on another machine
echo on Weather.gov to point you to active radar sites.
echo.
echo You will need to kill the Shell Killing Batch file running
echo behind this script by pressing CTRL+C and then ALT+F4,
echo and enter into here 'Explorer' to run the normal Windows
echo Graphical Shell User Interface.
echo.
echo.
echo What do you want to do?
echo.
cmd
Dont ask, its just for me to remember how to use it, because I am forgetful. It works though!
The last is just an .ink shortcut to the GRLevel3 .exe file, since I couldn't get a batch file to run it for me (some reason means it cant find this file on CMD).
It all works though! I half used the ping to create a lag to ensure that the UI opens over the explorer shell kill file. GRLevel3 takes a fraction longer to load anyway... but cheers for the help... much appreciated!