Menu

#22 vdk.io.clsFile additional methods

VDK 2.0.0
closed
2017-11-23
2017-08-23
Jason Ely
No

touch
Implements the same behaviour as the "touch" utility on Unix. It creates a new file with size 0 or,
if the file exists already, it is opened and closed without modifying it, but updating the file date and time.

isShortCut
Tests if the file is a shortcut

isSymbolicLink
Tests if the file is a symbolic link

listAllFiles
Lists all the files including files in sub directories for a given directory.

listAllFilesWithName(strName)
Lists all the files including files in sub directories for a given directory where the given parameter matches the name of the file. The name parameter is evaluated as a regular expression meaning that you can filter for file names based on various search criteria.

Discussion

  • Jason Ely

    Jason Ely - 2017-11-23
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -8,4 +8,11 @@
     **isSymbolicLink**
     Tests if the file is a symbolic link
    
    +**listAllFiles**
    +Lists all the files including files in sub directories for a given directory.
    
    +**listAllFilesWithName(strName)**
    +Lists all the files including files in sub directories for a given directory where the given parameter matches the name of the file. The name parameter is evaluated as a regular expression meaning that you can filter for file names based on various search criteria.
    +
    +
    +
    
     
  • Jason Ely

    Jason Ely - 2017-11-23
    • status: open --> closed
     
  • Jason Ely

    Jason Ely - 2017-11-23

    dev done unit test passed.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.