I have got this code from elsewhere and seems to work when I tested it. But I need it to delete not only all folders and subfolders that have a date modified date older than 1 year but ONLY folders who's parent directory is $ntuninstall*. Can anyone help?
Option Explicit
Const intDaysOld = 365...
The files are they are the rights are sound. The files wouldn't be in use as they are old and that is why we want them pruned. I'm still a newbie with the scripting and wouldn't know how to do the message box unfortunatley.
I run the script on me dev server (2003 SP1) and it runs fine. I run it in our test environment (2003 SP2) and I get a permission denied run time error. I am running it under an account with admin privledges to the server. Is there something with SP2 and vb scripts that doesn't play nice? Here...
The path is correct and I have admin priviledges so I can't figure it out. I keep coming back to that as well but when I do the exact same script in the same way on my SP1 server, it works fine. The only difference I see is the SP2.
I have a script that works on SP1 but not on SP2. I get a permission denied error. I run it with admin privileges and I have full permissions to the server and it's directories. What is it about SP2 that won't allow this? Here is the script if it helps:
Dim fso, f, f1, fc
Set fso =...
It's a file and print server. Some print jobs do no delete and hold up the rest of the queue. They will say "deleting" but never go away. I end up having to restart the print spooler which shuts down all the printers on this server. It's not specific to any model of printer as we have had this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.