Differences between revisions 25 and 51 (spanning 26 versions)
Revision 25 as of 2010-12-15 12:37:18
Size: 1877
Editor: KaiJaeger
Comment: New version
Revision 51 as of 2013-12-30 10:26:07
Size: 2303
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Dealing with Files and Directories =
{{{WinFile}}} is part of the CategoryAplApl project.
= WinFile: Dealing with Files and Directories =

{{{WinFile}}} is part of the CategoryAplTree project.
Line 7: Line 8:
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. 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 14: Line 15:

<<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 15: Line 20:
*** WinFile (Class) ***
Shared Methods:
Line 19: Line 22:
  CopyToWithRC
Line 22: Line 26:
  DirTree
  DirX
Line 23: Line 29:
  DirX
Line 26: Line 31:
  DoesExist
  ExpandEnv
  ExpandPath
Line 32: Line 40:
  IsFilenameOkay
  IsFoldernameOkay
  IsValidWin32Filename
Line 33: Line 44:
  ListDirXIndices
  ListFileAttributes
Line 34: Line 47:
  MoveToWithRC
Line 35: Line 49:
  PolishCurrentDir
  PWD
Line 41: Line 57:
}}}}

== Fields ==

<<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

{{{
  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
}}}
}}}}
Line 43: Line 91:
== History ==
For a full version history: [[WinFile/History|History]]
== Project Page ==

For bug reports, future enhancements and a full version history see WinFile/ProjectPage
Line 50: Line 99:
||Current state: ||1.3.2 ||
Line 52: Line 100:
`WinFile` needs version 13.0 of Dyalog APL.
Line 53: Line 102:
== Download ==
You have two options: you can either download the script for usage:

[[http://aplwiki.com/WinFile?action=AttachFile&do=get&target=WinFile.ZIP|Download WinFile script right now]]

or get the whole thing from the AplWikiRepository, including the development workspace and the script and maybe more for any development or for running the test cases:

{{{
svn list svn://aplteam.com/os/dyalog/WinFile/tags
}}}
If you plan to contribute please note that all stuff published as part of the APLAPL project must follow certain [[AplAplStandards|APLAPL-specific standards]].
<<Include(APLTreeDownloads)>>
Line 66: Line 105:
CategoryAplApl 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

Fields

Show the list of fields

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)