Reputation: 243
i'm trying to make a batch script that will automatically delete a registry entry (HKEY_CURRENT_USER\Software\mIRC\LastRun) and run a file, how can I start about this?
Upvotes: 0
Views: 502
Reputation: 37589
@echo off &setlocal
reg delete "HKEY_CURRENT_USER\Software\mIRC\LastRun" /f
start "" /b "run a file"
Upvotes: 2