opus-nt/mods/[hell]/remove user libraries/modscript.py
2021-12-29 21:03:06 +01:00

13 lines
749 B
Python

nameSpaces = [
"{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}", # 3D Objects
"{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}", # Desktop
"{D3162B92-9365-467A-956B-92703ACA08AF}", # Documents
"{088E3905-0323-4B02-9826-5D99428E115F}", # Downloads
"{3DFDF296-DBEC-4FB4-81D1-6A3438BCF4DE}", # Music
"{24AD3AD4-A569-4530-98E1-AB02F9417AA8}", # Pictures
"{F86fA3AB-70D2-4FC7-9C99-FCBF05467f3A}" # Videos
]
for nameSpace in nameSpaces:
opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer\\NameSpace\\" +nameSpace,"/f"],check=False)
opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer\\NameSpace\\" +nameSpace,"/f"],check=False)