none
[Win7] Script to track long file names RRS feed

  • Question

  • Users have a tendency to create longer and longer file / folder names. And eventually they end up with errors, like cannot save etc. I've been looking for a tool to track files / folders longer than x characters and if found, send the creator a mail. Now there are tools to scan files / folders for the length of the name, but a) they are interactive and b) can't send a message to the creator.

    So what I need is a script to do this. There are scripts to find files / folders of x length. So what I mainly need is a way to retrieve the creator name?


    Simon Weel

    Monday, October 10, 2016 3:46 PM

Answers

  • So what I mainly need is a way to retrieve the creator name?

    Get-Acl -Path D:\PS\Doc.txt

    Output:

    Path        Owner               Access                                                 
    ----         -----                  ------                                                 
    Doc.txt   Home\Vincent  BUILTIN\Administrators Allow  FullControl...  



    Tuesday, October 11, 2016 1:44 PM

All replies