![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to enumerate folder owners How can I enumerate folder owners? That doesn't appear to be within the realm of the File System Object. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to enumerate folder owners "Larry" <Larry@xxxxxx> wrote in message news:2003E7D0-EB77-4A0D-A55F-D2C4AEA29092@xxxxxx Quote: > How can I enumerate folder owners? That doesn't appear to be within the > realm > of the File System Object. to use WMI - see here: How Can I Determine the Owner of a File? http://www.microsoft.com/technet/scr...4/hey1007.mspx |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to enumerate folder owners I went poking around in WMI Explorer before my original posting and saw that I could discover the file ownership but I didn't and still don't see a way to get FOLDER ownership. Am I missing something or are we on the wrong path? "Pegasus (MVP)" wrote: Quote: > > "Larry" <Larry@xxxxxx> wrote in message > news:2003E7D0-EB77-4A0D-A55F-D2C4AEA29092@xxxxxx Quote: > > How can I enumerate folder owners? That doesn't appear to be within the > > realm > > of the File System Object. > I don't think you can do this with the File System Object. You probably need > to use WMI - see here: > How Can I Determine the Owner of a File? > http://www.microsoft.com/technet/scr...4/hey1007.mspx > > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: How to enumerate folder owners If you test the Scripting Guy's code on a folder then you will immediately see that it works just as well. You've got to be a little inquisitive! "Larry" <Larry@xxxxxx> wrote in message news:86DE6897-0FC4-47A5-8D7B-D6722E07CCD4@xxxxxx Quote: >I went poking around in WMI Explorer before my original posting and saw >that > I could discover the file ownership but I didn't and still don't see a way > to > get FOLDER ownership. Am I missing something or are we on the wrong path? > > "Pegasus (MVP)" wrote: > Quote: >> >> "Larry" <Larry@xxxxxx> wrote in message >> news:2003E7D0-EB77-4A0D-A55F-D2C4AEA29092@xxxxxx Quote: >> > How can I enumerate folder owners? That doesn't appear to be within the >> > realm >> > of the File System Object. >> I don't think you can do this with the File System Object. You probably >> need >> to use WMI - see here: >> How Can I Determine the Owner of a File? >> http://www.microsoft.com/technet/scr...4/hey1007.mspx >> >> >> |
My System Specs![]() |
| | #5 (permalink) |
| | Re: How to enumerate folder owners Thanks! I took it at face value. I'll try it out. "Pegasus (MVP)" wrote: Quote: > If you test the Scripting Guy's code on a folder then you will immediately > see that it works just as well. You've got to be a little inquisitive! > > > "Larry" <Larry@xxxxxx> wrote in message > news:86DE6897-0FC4-47A5-8D7B-D6722E07CCD4@xxxxxx Quote: > >I went poking around in WMI Explorer before my original posting and saw > >that > > I could discover the file ownership but I didn't and still don't see a way > > to > > get FOLDER ownership. Am I missing something or are we on the wrong path? > > > > "Pegasus (MVP)" wrote: > > Quote: > >> > >> "Larry" <Larry@xxxxxx> wrote in message > >> news:2003E7D0-EB77-4A0D-A55F-D2C4AEA29092@xxxxxx > >> > How can I enumerate folder owners? That doesn't appear to be within the > >> > realm > >> > of the File System Object. > >> > >> I don't think you can do this with the File System Object. You probably > >> need > >> to use WMI - see here: > >> How Can I Determine the Owner of a File? > >> http://www.microsoft.com/technet/scr...4/hey1007.mspx > >> > >> > >> > > |
My System Specs![]() |
| | #6 (permalink) |
| | Re: How to enumerate folder owners Il giorno Wed, 28 Jan 2009 13:10:06 -0800, =?Utf-8?B?TGFycnk=?= <Larry@xxxxxx> ha scritto: Quote: >How can I enumerate folder owners? That doesn't appear to be within the realm >of the File System Object. It's a vbs program called ntfs_stuff and it should use xcacls to retrieve informations about files and folders. http://www.tech-archive.net/Archive/.../msg00462.html http://www.eggheadcafe.com/software/...stuff-v10.aspx -- Giovanni Cenati (Bergamo, Italy) Write to "Reventlov" at katamail com http://digilander.libero.it/Cenati (Esempi e programmi in VbScript) -- |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to enumerate classes from a DLL | .NET General | |||
| using .Net DirectoryEntry to enumerate domains | Vista networking & sharing | |||
| enumerate registry subkeys | VB Script | |||
| enumerate shortcut types | PowerShell | |||
| Enumerate servers in NT4 domain | PowerShell | |||