Canadiantech
01-13-2006, 08:00 AM
Hello All,
Im am trying to use a script that will tell me the owner of a file. Eventually evolving into a script that will tell me the owner of all the files in a folder.
I found this on the MS site: http://www.microsoft.com/technet/scriptcenter/scripts/security/ownership/seowvb01.mspx
however when running it i get an error on line 3 char 1. Code: 80041002 Source: SWbemServicesEx
im pretty new at WSH and do not really know what information is missing. I have tried entering in a file name but get string errors.
any suggestions are welcome :)
Im am trying to use a script that will tell me the owner of a file. Eventually evolving into a script that will tell me the owner of all the files in a folder.
I found this on the MS site: http://www.microsoft.com/technet/scriptcenter/scripts/security/ownership/seowvb01.mspx
however when running it i get an error on line 3 char 1. Code: 80041002 Source: SWbemServicesEx
im pretty new at WSH and do not really know what information is missing. I have tried entering in a file name but get string errors.
any suggestions are welcome :)