Size: 1004
Comment:
|
Size: 1919
Comment: Update
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
{{{WinFile}}} is part of the CategoryAplTree project. | |
Line 3: | Line 4: |
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. | <<TableOfContents>> |
Line 5: | Line 6: |
See the list of methods (generated with ADOC): | == 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. |
Line 7: | Line 9: |
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 == |
|
Line 8: | Line 15: |
*** WinFile (Class) *** Shared Methods: |
|
Line 12: | Line 17: |
CopyToWithRC | |
Line 15: | Line 21: |
DirTree DirX |
|
Line 16: | Line 24: |
DirX | |
Line 19: | Line 26: |
DoesExist ExpandEnv ExpandPath |
|
Line 25: | Line 35: |
IsFilenameOkay IsFoldernameOkay IsValidWin32Filename |
|
Line 26: | Line 39: |
ListDirXIndices ListFileAttributes |
|
Line 27: | Line 42: |
MoveToWithRC | |
Line 28: | Line 44: |
PolishCurrentDir PWD |
|
Line 35: | Line 53: |
Find out more by looking into the documentation attachment:WinFileDocumentation.html | == 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 [[attachment:WinFileDocumentation.html]] |
Line 37: | Line 80: |
== Project Page == | |
Line 38: | Line 82: |
For bug reports, future enhancements and a full version history see WinFile/ProjectPage | |
Line 39: | Line 84: |
||Original author:||KaiJaeger|| ||Responsible:||KaiJaeger|| ||Email:||kai@aplteam.com|| ||Current state:||1.1|| |
== Version Information == ||Original author: ||KaiJaeger || ||Responsible: ||KaiJaeger || ||Email: || kai@aplteam.com || |
Line 44: | Line 89: |
Goto the [:WinFileDownloadPage:WinFileDownloadPage] | `WinFile` needs version 13.0 of Dyalog APL. <<Include(APLTreeDownloads)>> |
Line 46: | Line 94: |
CategoryOpenSourceApl CategoryAplAplDyalog | CategoryAplTree |
Dealing with Files and Directories
WinFile is part of the CategoryAplTree project.
Contents
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
Cd CheckPath CopyToWithRC CopyTo DateOf Delete DirTree DirX Dir DoesExistDir DoesExistFile DoesExist ExpandEnv ExpandPath GetAllDrives GetDriveAndType GetTempFileName GetTempPath History IsDirEmpty IsFilenameOkay IsFoldernameOkay IsValidWin32Filename ListDirsOnly ListDirXIndices ListFileAttributes MkDir MoveToWithRC MoveTo PolishCurrentDir PWD ReadAnsiFile RmDir Version WriteAnsiFile YoungerThan
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: |
|
Responsible: |
|
Email: |
WinFile needs version 13.0 of Dyalog APL.