


Where I do all the drafting & amendments. I do not amend my batch files, vbs files & other script files very often so I do not mind the inconvenience of forcing Admin prompts on myself.ġ.3 The procedure for setting up C:\Tools is in the Annex.ġ.4 I have subfolders for each task or group of tasks so I don’t get confused about which file is part of which procedure I have, for example, C:\Tools\Backup, C:\Tools\PhoneSync, C:\Tools\PVR.ġ.5 I also have a corresponding group of subfolders within Setting up this protected folder can be done very quickly and easily and it does not affect running the files.ġ.2 My C:\Tools folder forces Admin prompts for all changes. Run a batch file minimised & with a specific icon.ġ.1 All my batch files, vbs files & other script files are saved in subfolders of C:\Tools, a folder that has particular permissions set up to protect its contents against undesirable access such as malware infiltration. Windows 7 users should refer to the companion article. The methods for Windows 7 & Windows 10 differ. This Wiki article is for Windows 10 users. This Wiki article assumes sufficient general skills with batch files & Task scheduler so that it can focus on achieving a minimised window & a specific icon. The method shown can be used for any batch file, vbs file or other script file.


However, Windows Task scheduler can be persuaded to cooperate by creating intermediate files that initiate the desired batch file. Windows Task scheduler does not want to cooperate it opens a command window and the TaskBar icon that appears I also want to run this batch file from Task scheduler in the same way - minimised & with my chosen icon. I am happy with the way it runs as I do not need to see the Command window every time and having my chosen icon on the TaskBar shows me at a glance what is running. I have a batch file that I run minimised & with the icon I have chosen.
