What? A VBScript question?
Posted: Tue Apr 04, 2006 1:28 am
I doubt many here use a lot of vbscript, but what the heck.
I've been workin on a script at work that has to check the date of files ion specified folders. Problem is, every now and again one of these folders will dissappear, or the permissions will change (don't ask me howwhy). So far I've been using the FolderExists() Folder Method to check the folders, but it doesn't differentiate between a missing folder and an inaccessible one, it just reports false either way. What I need is a way to tell if the folder exists, but is inacessible, so I don't have to go in and manually check each time the FolderExists() method returns false.
Archived topic from Iceteks, old topic ID:4261, old post ID:34425
I've been workin on a script at work that has to check the date of files ion specified folders. Problem is, every now and again one of these folders will dissappear, or the permissions will change (don't ask me howwhy). So far I've been using the FolderExists() Folder Method to check the folders, but it doesn't differentiate between a missing folder and an inaccessible one, it just reports false either way. What I need is a way to tell if the folder exists, but is inacessible, so I don't have to go in and manually check each time the FolderExists() method returns false.
Archived topic from Iceteks, old topic ID:4261, old post ID:34425