I'm trying to run some .vbs scripts on my home PC (Windows XP Professional SP2). They used to work great, but now when I run them I get the following error:
ActiveX component can't create object: 'Scripting.FileSystemObject'
Let me just say this is not a coding issue, I'm well versed in proper syntax, and this script has worked in the past. I've also done a lot of research on the internet about this problem, here's what I've tried, and doesn't work.
- Reinstalled WSH 5.6
- ran regsvr32 scrrun.dll
- I've gone into the registry editor and ensured my account has permission to the COM object as well.
I'm out of ideas, I'm just about to reformat my PC to fix this problem, but I'd rather like to avoid this! Can anyone suggest something that I may have missed?