Jump to content

Recommended Posts


Posted

Since I assume you want to delete the "Sample Pictures" folder from your My Pictures, and not just delete the pictures themselves, you need to do two things. First delete the pictures and their directory from %AllUsersProfile%\Documents\My Pictures\Sample Pictures," and then delete the link that refers to it from your own My Documents folder. I use the following in my cleanup.cmd to do this:

ECHO.
ECHO Deleting Sample Pictures...
RD /Q /S "%AllUsersProfile%\Documents\My Pictures\Sample Pictures"
DEL "%UserProfile%\My Documents\My Pictures\Sample Pictures.lnk"

The echo statements are, of course, completely cosmetic.

Once the Sample Pictures folder itself has been deleted (not just your own personal link) all new users created will be created without a link in their My Pictures folder.

Posted

*Caves in and downloads nLite.*

Sounds like there is a ton of stuff this program can do for me, even if I do think I know what I'm doing. Thanks for providing a convenient link in your sig, MCT. :thumbup

Edit: D'oh. That link is to the forums. I thought it went to a page I would be able to dl nLite from. *Throttles MCT.* You tricked me! ;)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...