I've created a batch file I use to remove some backup files (.bak) that seem stubborn to leave. However, and this is on an XP laptop, not Windows 7, I've discovered that there is a critical data.bak file that must remain (again, XP, not Windows 7) so that MS Office XP will work. When the file is deleted, Office programs will not start without reinstalling "the component."
So is there a switch or separate command I can use with the line "del c:\*.bak /s" that would delete all *.bak files except this one: c:\documents and settings\all users\application data\microsoft\office\data\data.bak?
Thanks.
So is there a switch or separate command I can use with the line "del c:\*.bak /s" that would delete all *.bak files except this one: c:\documents and settings\all users\application data\microsoft\office\data\data.bak?
Thanks.
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Dell Studio XPS 8100, Dell XPS 15 laptop
- OS
- Windows 10 Home, 64 bit
- CPU
- Intel Core i7 860 @ 2.8 GHz
- Motherboard
- Dell 0T568R (CPU1)
- Memory
- 8.0 GB Dual Channel DDR3 @ 664 MHz (9-9-9-24)
- Graphics Card(s)
- nVidia GeForce GTS 240
- Sound Card
- M-Audio Delta Audiophile 2496
- Monitor(s) Displays
- Dell 2407WFP
- Screen Resolution
- 1920x1200
- Hard Drives
- 977 GB Western Digital WDC WD1001FAES-75W7A0 (SCSI)
- Antivirus
- Windows Defender, MalwareBytes Anti-Malware, AdwCleaner
- Browser
- Firefox, occasionally IE and Edge
- Other Info
- Mozilla Firefox, Mozilla Thunderbird. Western Digital Passport 250 GB external HD, two Mushkin Enhanced Mulholland 32GB USB flash drives, AKG K240 Studio headphones, Asus AC-1900 dual band wireless router.
