G
Guest
I am very new at this scripting thing and would like to ignore error messages
when running a script. Particularly the one located at the URL below:
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
Whenever I run it to delete files in my %temp% folder and there are files in
use (set to read-only) I get an error message stating that files are not
accessible. I want to ignore this message. I know that there are times when
temp files are in use and I don't want to delete them if they are but I do
want to delete files in the directory that are not in use and not the ones
that are while at the same time avoiding this error message. Any help would
be greatly appreciated. I'm still learning so please bare with me. Also,
I'd like to know how similar these VB scripts are to VBA (like with Access
VBA, etc.)
when running a script. Particularly the one located at the URL below:
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
Whenever I run it to delete files in my %temp% folder and there are files in
use (set to read-only) I get an error message stating that files are not
accessible. I want to ignore this message. I know that there are times when
temp files are in use and I don't want to delete them if they are but I do
want to delete files in the directory that are not in use and not the ones
that are while at the same time avoiding this error message. Any help would
be greatly appreciated. I'm still learning so please bare with me. Also,
I'd like to know how similar these VB scripts are to VBA (like with Access
VBA, etc.)