Re: Recursively list a folder with VBScript
From: Marco Shaw (marco_at_Z.nbnet.nb.ca)
Date: 03/01/04
- Next message: Colin Colin: "Getting Expected ; (semicolon) in simple VBScript only page"
- Previous message: Colin Colin: "Re: Can I do client side populations from my ASP Page?"
- In reply to: Al Dunbar [MS-MVP]: "Re: Recursively list a folder with VBScript"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Recursively list a folder with VBScript"
- Reply: Al Dunbar [MS-MVP]: "Re: Recursively list a folder with VBScript"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 01 Mar 2004 14:31:11 GMT
> Your pseudocode above implies that all of the files are to have the same
> permission applied. Do you really need to do this to all the files that do
> not already have this permission? Why not give all the files that
permission
> without worrying about which are out of compliance? Seems to me that cacls
> or xcacls allows you to set permissions on a whole set of files at one
shot.
> Seems to me that would be simpler and faster.
I agree. My root problem is strange where some files will just lose the
perms... I can't explain it. From Explorer, if I remove/readd the perms to
the folder, by inheritance, all the files/folders take the perms again, but
if I use cacls on the root folder to remove/readd the perms, the problematic
file will not take the perms properly. I have to use cacls to readd the
perms directly on the affected file.
I'm just trying to automate this process with an ASP front-end interface for
my tier 1 people...
Marco
- Next message: Colin Colin: "Getting Expected ; (semicolon) in simple VBScript only page"
- Previous message: Colin Colin: "Re: Can I do client side populations from my ASP Page?"
- In reply to: Al Dunbar [MS-MVP]: "Re: Recursively list a folder with VBScript"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Recursively list a folder with VBScript"
- Reply: Al Dunbar [MS-MVP]: "Re: Recursively list a folder with VBScript"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|