SuperBeast
SuperBeast

Reputation: 243

Batch script to delete a registry and run a file

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

Answers (1)

Endoro
Endoro

Reputation: 37589

@echo off &setlocal
reg delete "HKEY_CURRENT_USER\Software\mIRC\LastRun" /f
start "" /b "run a file"

Upvotes: 2

Related Questions