How to delete Games folder using a batchfile ??

K

Kevin Darling

Greetings,

For a PC laptop that is being used in the field, I've been asked to
create a batch file that can be run (via PCMCIA card) to (among many
other things) delete the Games folder from the Start / Programs menu.

Obviously this can be done manually via the Windows GUI and
right-clicking and deleting the Games folder, but that would take too
much time (we're talking several thousands of laptops). One version
of the batch command tried is:

del /q /f "C:\Documents and Settings\All Users\Start
Menu\Programs\Games"

This batchfile command does delete all the games, but always leaves
the Games folder entry (albeit empty). Even if I manually go (via DOS
cmd window) to "All Users \ Start Menu" and delete any hidden-system
files in the Games directory, deleting the Games folder itself doesn't
work.

Is it also in the Registry somewhere? Or is this a side effect of
having three other user ids? However, I do not see Games in the other
users' start menu directory, so it's not a case of them having copies.
I'm running the batchfile as Admin, btw.

Any thoughts very much appreciated!
Kevin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top