%windir% is an environment variable that refers to C:\Winnt or C:\Windows
(depending on OS).
A script blocker would block that from running, script blockers don't like
CreateObject. Other than that if you have user permissions on wherever
you're writing to you should be OK.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Culverin" wrote in message
...
Thanks Ken.
This worked for me(the server-name is first):
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run
"\\sh19p001\wrkbench\Other_Projects\NASA\Clear_Cac he\Clear_cache.vbs"
I just need to test to see if this works for our users. Granting
permissions to "Everyone" to the Clear_Cache directory should be all I
need
to do to ensure that
this will work for all of our users across the country.
What is "%windir%"?