kleb Posted June 29, 2004 Share 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 Link to comment Share on other sites More sharing options...
jrzycrim Posted June 29, 2004 Share 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\... Link to comment Share on other sites More sharing options...
kleb Posted June 30, 2004 Author Share Posted June 30, 2004 Great! Thanks for being bored! Worked perfectly Link to comment Share on other sites More sharing options...
jrzycrim Posted June 30, 2004 Share Posted June 30, 2004 You're welcome. I'm just glad there aren't that many themes that come with XP 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