Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12480

Re: Getting File Info using GetDetailsOf with specific values

From "Newyana2" <Newyana2@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Getting File Info using GetDetailsOf with specific values
Date 2023-03-08 13:39 -0500
Organization To protect and to server
Message-ID <tuakq2$h79v$1@paganini.bofh.team> (permalink)
References <c4be98d4-6690-4b83-a4d0-1b77d26eb857n@googlegroups.com> <ttp4e7$1r05d$1@paganini.bofh.team> <630c8c5a-ecb6-4401-a9cb-46cee76595dan@googlegroups.com> <tua4bt$fgkg$1@paganini.bofh.team> <fcda472a-982b-424f-862c-bca19b8c5992n@googlegroups.com>

Show all headers | View raw


"Databeheer Quantore" <quantoredatabeheer@gmail.com> wrote


| I want to list files by certain owner(s) to improve datamanagement.
|
  I see. I've never run a computer with multiple users
and I always run as admin, so I wasn't familiar with this.
But it looks like you can do what you want:

https://www.vbsedit.com/scripts/security/ownership/scr_1386.asp

  Basically you'd use WMI to get those file properties.
The properties you were looking at before are properties like
size, lastmodified time, etc.

  Unfortunately, WMI is horrendously designed. It's all wrpapped
in a pseudo-SQL format. But it does have a great deal of
functionality.

  Probably you'd want to use the FileSystemObject to
enumerate through folders, then run each file path
through the WMI check. Tedious, but not very complicated.
If you don't know about WMI you might want to get a
copy of the help file. 

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Getting File Info using GetDetailsOf with specific  values Databeheer Quantore <quantoredatabeheer@gmail.com> - 2023-03-01 07:57 -0800
  Re: Getting File Info using GetDetailsOf with specific  values "Newyana2" <Newyana2@invalid.nospam> - 2023-03-01 22:16 -0500
    Re: Getting File Info using GetDetailsOf with specific values Databeheer Quantore <quantoredatabeheer@gmail.com> - 2023-03-08 05:01 -0800
      Re: Getting File Info using GetDetailsOf with specific values "Newyana2" <Newyana2@invalid.nospam> - 2023-03-08 08:59 -0500
        Re: Getting File Info using GetDetailsOf with specific values Databeheer Quantore <quantoredatabeheer@gmail.com> - 2023-03-08 07:23 -0800
          Re: Getting File Info using GetDetailsOf with specific values "Newyana2" <Newyana2@invalid.nospam> - 2023-03-08 13:39 -0500
  Re: Getting File Info using GetDetailsOf with specific values Ulrich Möller <um_moeller@arcor.de> - 2023-03-08 16:08 +0100
    Re: Getting File Info using GetDetailsOf with specific values Databeheer Quantore <quantoredatabeheer@gmail.com> - 2023-03-08 07:26 -0800

csiph-web