Differences between revisions 3 and 52 (spanning 49 versions)
Revision 3 as of 2007-11-27 19:59:15
Size: 1012
Editor: KaiJaeger
Comment:
Revision 52 as of 2014-08-07 15:50:40
Size: 2428
Editor: KaiJaeger
Comment: List of methods updated
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Dealing with Files and Directories = = WinFile: Dealing with Files and Directories =
Line 3: Line 3:
Nowadays if there is a need to deal with directories and files, there is .NET, isn't it? Well, some companies have decided against .NET, so there is still the need for a .NET-free solution to this. This is what the WinFile class is designed for. {{{WinFile}}} is part of the CategoryAplTree project.
Line 5: Line 5:
See the list of methods (generated with [:ADOC:ADOC]): <<TableOfContents>>

== Overview ==
Nowadays if there is a need to deal with directories and files, there is .NET, right? Well, some companies have decided against .NET, so there is still the need for a .NET-free solution to this. This is what the WinFile class is designed for.

But there is more to say to this: try to get a DirectoryInfo for a directory with, say, 100,000 files. Then compare with this class.

See the list of methods (generated with [[ADOC]]):

== Methods ==

<<SeeSaw(section="methods", toshow="<<Show>> the list of methods", tohide="<<Hide>> the list of methods", bg="#FEE1A5", speed="Slow")>>
{{{{#!wiki seesaw/methods/methods-bg/hide
Line 8: Line 20:
*** WinFile (Class) ***
Shared Methods:
Line 12: Line 22:
  CopyToWithRC
Line 13: Line 24:
  CreateDirParms
  CreateDirXParms
  CreateListFilesOnlyParms
Line 15: Line 29:
  DirTree
  DirX
Line 16: Line 32:
  DirX
Line 19: Line 34:
  DoesExist
  ExpandEnv
  ExpandPath
Line 25: Line 43:
  IsFilenameOkay
  IsFoldernameOkay
  IsValidWin32Filename
Line 26: Line 47:
  ListFilesOnly
  ListDirXIndices
  ListFileAttributes
Line 27: Line 51:
  MoveToWithRC
Line 28: Line 53:
  PolishCurrentDir
  PWD
Line 29: Line 56:
  ReadBytesAs8BitSignedIntegersFromFile
Line 34: Line 62:
}}}}
Line 35: Line 64:
Find out more by looking into the documentation attachment:WinFileDocumentation.html == Fields ==
Line 37: Line 66:
<<SeeSaw(section="fields", toshow="<<Show>> the list of fields", tohide="<<Hide>> the list of fields", bg="#FEE1A5", speed="Slow")>>
{{{{#!wiki seesaw/fields/fields-bg/hide
Line 38: Line 69:
{{{
  COL_CreationDateName
  COL_LastAccessDate
  COL_LastWriteDate
  COL_Name
  COL_ShortName
  COL_Size
  FA_ARCHIVE
  FA_COMPRESSED
  FA_DEVICE
  FA_DIRECTORY
  FA_ENCRYPTED
  FA_HIDDEN
  FA_NORMAL
  FA_NOT_CONTENT_INDEXED
  FA_OFFLINE
  FA_READONLY
  FA_REPARSE_POINT
  FA_SPARSE_FILE
  FA_SYSTEM
  FA_TEMPORARY
  FA_VIRTUAL
  okay
}}}
}}}}
Find out more by looking into the documentation [[attachment:WinFileDocumentation.html]]
Line 39: Line 96:
||Original author:||KaiJaeger||
||Responsible:||KaiJaeger||
||Email:||kai@aplteam.com||
||Current state:||1.1||
== Project Page ==
Line 44: Line 98:
Goto the [:WinFileDownloadPage:WinFileDownloadPage] For bug reports, future enhancements and a full version history see WinFile/ProjectPage

== Version Information ==
||Original author: ||KaiJaeger ||
||Responsible: ||KaiJaeger ||
||Email: || kai@aplteam.com ||

`WinFile` needs version 13.0 of Dyalog APL.

<<Include(APLTreeDownloads)>>
Line 46: Line 110:
CategoryOpenSourceApl CategoryAplAplDyalog CategoryAplTree

WinFile: Dealing with Files and Directories

WinFile is part of the CategoryAplTree project.

Overview

Nowadays if there is a need to deal with directories and files, there is .NET, right? Well, some companies have decided against .NET, so there is still the need for a .NET-free solution to this. This is what the WinFile class is designed for.

But there is more to say to this: try to get a DirectoryInfo for a directory with, say, 100,000 files. Then compare with this class.

See the list of methods (generated with ADOC):

Methods

Show the list of methods

  Cd
  CheckPath
  CopyToWithRC
  CopyTo
  CreateDirParms
  CreateDirXParms
  CreateListFilesOnlyParms
  DateOf
  Delete
  DirTree
  DirX
  Dir
  DoesExistDir
  DoesExistFile
  DoesExist
  ExpandEnv
  ExpandPath
  GetAllDrives
  GetDriveAndType
  GetTempFileName
  GetTempPath
  History
  IsDirEmpty
  IsFilenameOkay
  IsFoldernameOkay
  IsValidWin32Filename
  ListDirsOnly
  ListFilesOnly
  ListDirXIndices
  ListFileAttributes
  MkDir
  MoveToWithRC
  MoveTo
  PolishCurrentDir
  PWD
  ReadAnsiFile
  ReadBytesAs8BitSignedIntegersFromFile
  RmDir
  Version
  WriteAnsiFile
  YoungerThan

Fields

Show the list of fields

  COL_CreationDateName
  COL_LastAccessDate
  COL_LastWriteDate
  COL_Name
  COL_ShortName
  COL_Size
  FA_ARCHIVE
  FA_COMPRESSED
  FA_DEVICE
  FA_DIRECTORY
  FA_ENCRYPTED
  FA_HIDDEN
  FA_NORMAL
  FA_NOT_CONTENT_INDEXED
  FA_OFFLINE
  FA_READONLY
  FA_REPARSE_POINT
  FA_SPARSE_FILE
  FA_SYSTEM
  FA_TEMPORARY
  FA_VIRTUAL
  okay

Find out more by looking into the documentation WinFileDocumentation.html

Project Page

For bug reports, future enhancements and a full version history see WinFile/ProjectPage

Version Information

Original author:

KaiJaeger

Responsible:

KaiJaeger

Email:

kai@aplteam.com

WinFile needs version 13.0 of Dyalog APL.


CategoryAplTree

OS (last edited 2018-03-03 11:39:49 by KaiJaeger)