I created a batch file. Double clicking on it in explorer only lights up the editor. Running it from a command window also only lights up the editor. Windows 7 Bug - Task Scheduler Deleting Task Bat File?. Are you sure the file is named as a batch file, like realshooter.eu and not as a text file, like realshooter.eu? If you create a batch file in notepad it will How to write a batch file to restart windows 7. The basics of how to construct a batch file in Windows XP, Windows Vista, and Windows 7 is described.