Need lil Help for Delete REGISTRY VALUE button

I've been trying to create a batch file or better yet a button to delete Virtual Dub's MRU registry entry but keep getting syntax errors.

I'm not a programmer, but reading the syntax help, I can't quite get this

Here's what I want to delete:

HKEY_CURRENT_USER\Software\Freeware\VirtualDubMod\MRU List

Under this, there are a few keys, I'd like to delete all of them, /va /f does't seem to help

Opus 9.1 x65

Here's the Button I've been trying to work with:

[quote]<?xml version="1.0"?>

Delete VDub MRU

REG DELETE HKEY_CURRENT_USER\Software\Freeware\VirtualDubMod\MRU List


Typing reg /? at the command prompt will give you a list of commands, for which individual help is available.

The help for reg delete specifies that the root key you need to use is HKCU. Also I suspect that because "MRU List" contains a space you would need to enquote the whole key.

So, try something like the following:

reg delete "HKCU\Software\Freeware\VirtualDubMod\MRU List" /f

The QUOTES is what was missing.

Thanks for that.