Marthax Posted June 20, 2005 Share Posted June 20, 2005 Hi Everyone!How do I disable My Music & My Pictures from My Documents? If I delete these folders, Windows just keeps recreating them so there's gotta be a way to make it stop doing this. How?Thanks in advance!Marthax Link to comment Share on other sites More sharing options...
TheeBeets Posted June 20, 2005 Share Posted June 20, 2005 Cleanup.cmdECHO Cleaning My Documents folderRD /S/Q "%UserProfile%\My Documents\My Music\"RD /S/Q "%UserProfile%\My Documents\My Pictures\" Link to comment Share on other sites More sharing options...
Marthax Posted June 20, 2005 Author Share Posted June 20, 2005 If I delete these folders, Windows just keeps recreating them so there's gotta be a way to make it stop doing thisI just said that this doesn't help. I need something to disable these folders from poping up as soon as I play a song or view a picture. These annoying folders keep poping up if I delete them. Link to comment Share on other sites More sharing options...
Gouki Posted June 20, 2005 Share Posted June 20, 2005 Even if u choose:%userprofile% & %allusersprofile% ?? Link to comment Share on other sites More sharing options...
Marthax Posted June 20, 2005 Author Share Posted June 20, 2005 Haven't tried that one. Thanks, I'm gonna go ahead and take a look. I'll notify you about how it goes. Link to comment Share on other sites More sharing options...
Gouki Posted June 21, 2005 Share Posted June 21, 2005 Ok. Ill be waiting ... I doubt it works tho. I think those files have some entries on a .dll file who is responsible for creating them again! Link to comment Share on other sites More sharing options...
Gouki Posted June 21, 2005 Share Posted June 21, 2005 Yep. I had posted this on my own forum. Just didnt remember.Go to Start > Run and type:regsvr32 /u mydocs.dllThat should do it. About doing it UA, dont know if its possible. Link to comment Share on other sites More sharing options...
spiritpyre Posted June 21, 2005 Share Posted June 21, 2005 (edited) This won't really get rid of them but it might work:you could try "re-assigning" them to an already existing folder that's out of the way (kind of assuming you just don't want them in My Documents)...REGEDIT4;================================; Change location of Special Folders:;================================; NOTE EACH FOLDER HAS **2** VALUES[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders];;"My Music"={insert text string of path}[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders];;"My Music"={export hex string of path}[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders];;"My Pictures"={insert text string of path}[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders];;"My Pictures"={export hex string of path} from there you could delete the folder from My Documents w/ the batch file suggested above or.......I just noticed that under "[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]" there is another key called "New"... its possibile that this key might create 'new' instances when deleted (but I'd back it up b4 testing if I were you...) hope that helps, & good luck B) Mine's far from empty otherwise I might test it myself.btw love the bds avatar Edited June 21, 2005 by spiritpyre Link to comment Share on other sites More sharing options...
Gouki Posted June 21, 2005 Share Posted June 21, 2005 (edited) i just posted the solution!! just delete the folders and then run that!! Edited June 21, 2005 by Gouki Link to comment Share on other sites More sharing options...
spiritpyre Posted June 21, 2005 Share Posted June 21, 2005 (edited) @ Goukijust suggesting another {possible} way (.reg's and batch files work fine on uA) btw this:regsvr32 /u mydocs.dllThat should do it. About doing it UA, dont know if its possible.<{POST_SNAPBACK}>should also work fine from a batch file during uA so long as it doesn't prompt the user or popup w/ a message box like "OK" Edited June 21, 2005 by spiritpyre Link to comment Share on other sites More sharing options...
Yzöwl Posted June 21, 2005 Share Posted June 21, 2005 i just posted the solution!! just delete the folders and then run that!!Does that not unregister the My Documents folder too?He only wanted My Music and My Pictures! Link to comment Share on other sites More sharing options...
eirogge Posted June 21, 2005 Share Posted June 21, 2005 (edited) useregsvr32 /s /u mydocs.dllin a unattended batch file Edited June 21, 2005 by eirogge Link to comment Share on other sites More sharing options...
Marthax Posted June 21, 2005 Author Share Posted June 21, 2005 (edited) Ok, I'm gonna try that. Thanks a lot everyone for trying to help me out I appreciate it. My testing computer is not usable right now but it will in a few days so I'll post as soon as I'll be able to try it out. Thanks again @spiritpyre: I love it too B) Your avatar isn't that bad it either. An highly exceptional cat. Edited June 21, 2005 by Marthax Link to comment Share on other sites More sharing options...
Gouki Posted June 21, 2005 Share Posted June 21, 2005 i just posted the solution!! just delete the folders and then run that!!Does that not unregister the My Documents folder too?He only wanted My Music and My Pictures!<{POST_SNAPBACK}>yep. It will only unregister the 2 folders inside my documents!useregsvr32 /s /u mydocs.dllin a unattended batch file<{POST_SNAPBACK}>Great! Thanks!! Link to comment Share on other sites More sharing options...
Gouki Posted June 21, 2005 Share Posted June 21, 2005 (edited) In case some one is interested, I just tested this on my batch file and it worked.RD /S /Q "%userprofile%\My Documents\My Music"RD /S /Q "%allusersprofile%\My Documents\My Music"RD /S /Q "%userprofile%\My Documents\My Pictures"RD /S /Q "%allusersprofile%\My Documents\My Pictures"regsvr32 /S /u mydocs.dllJust paste this on ur cleanup.cmd! Edited June 21, 2005 by Gouki Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now