Oh, by the way:
TASKKILL /IM notepad.exe /FI "WINDOWTITLE eq untitled*"
That'll do a soft-close on every untitled notepad.
TASKKILL /F /IM notepad.exe /FI "WINDOWTITLE eq untitled*"
That'll forcefully close every untitled notepad. You can change the filter after WINDOWTITLE to match what you specifically want to close. Don't change eq though, that means equals. There is also ne (not equal to).
Also tskill and taskkill are two different programs. tskill is just a quick one.