kleb Posted June 29, 2004 Posted June 29, 2004 I need to restore the theme files (c:\windows\resources\themes\) from the XP cd. Is there an easy way to extract files from the cd? And could someone give me a directory listing so I can make sure I get them all?Thanks,Kleb
jrzycrim Posted June 29, 2004 Posted June 29, 2004 I was bored so I made a quick and dirty batch file that will extract the default themes. @echo offset cdrom=d:mkdir Themesmkdir Themes\Lunamkdir Themes\Luna\Shellmkdir Themes\Luna\Shell\Homesteadmkdir Themes\Luna\Shell\Metallicmkdir Themes\Luna\Shell\NormalColorexpand %cdrom%\i386\CLASSIC.TH_ "Themes\Windows Classic.theme"expand %cdrom%\i386\LUNA.TH_ "Themes\Luna.theme"expand %cdrom%\i386\LUNA.MS_ "Themes\Luna\luna.msstyles"expand %cdrom%\i386\HOME_SS.DL_ "Themes\Luna\Shell\Homestead\shellstyle.dll"expand %cdrom%\i386\METAL_SS.DL_ "Themes\Luna\Shell\Metallic\shellstyle.dll"expand %cdrom%\i386\BLUE_SS.DL_ "Themes\Luna\Shell\NormalColor\shellstyle.dll"echo.echo Finished Extracting Theme files.pauseCopy the above to a text file and rename it theme.cmd.Make sure you set the appropriate letter for your CDROM at the begining of the file. (example: set cdrom=d: )Place your XP CD into the drive and execute the batch.When you run this file, it will create a directory called Themes and extract the appropriate files to their proper directories. The new Themes directory will be created at the same location the batch was executed. Its structure will be identical as that found in Windows\Resources\...
kleb Posted June 30, 2004 Author Posted June 30, 2004 Great! Thanks for being bored! Worked perfectly
jrzycrim Posted June 30, 2004 Posted June 30, 2004 You're welcome. I'm just glad there aren't that many themes that come with XP
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now