Differences between revisions 15 and 28 (spanning 13 versions)
Revision 15 as of 2008-12-19 09:27:58
Size: 1459
Editor: KaiJaeger
Comment:
Revision 28 as of 2011-04-05 19:13:39
Size: 2029
Editor: KaiJaeger
Comment: New version
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 8: Line 7:

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 19: Line 17:
  Cd
  
CheckPath
  
CopyTo
  
DateOf
  Delete
  Dir
  
DirX
  
DoesExistDir
  
DoesExistFile
  
GetAllDrives
  
GetDriveAndType
  GetTempFileName
  GetTempPath
  
History
  
IsDirEmpty
  
ListDirsOnly
  
MkDir
  
MoveTo
  
ReadAnsiFile
  
RmDir
  
Version
  
WriteAnsiFile
  
YoungerThan
Cd              CheckPath       CopyTo          Copyright
DateOf          Delete
Dir
DirX            DoesExistDir    DoesExistFile   GetAllDrives    GetDriveAndType
GetTempFileName
GetTempPath     History         IsDirEmpty      ListDirsOnly    MkDir           MoveTo          ReadAnsiFile    RmDir           Version         WriteAnsiFile   YoungerThan     
Line 43: Line 43:
Line 46: Line 45:
== 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 50:
||Original author:||KaiJaeger||
||Responsible:||KaiJaeger||
||Email:||kai@aplteam.com||
||Current state:||1.2.5||
||Original author: ||KaiJaeger ||
||Responsible: ||KaiJaeger ||
||Email: || kai@aplteam.com ||
||Current state: ||1.4.3 ||
Line 56: Line 57:
You have two options: you can either download the script for usage:
Line 57: Line 59:
[[http://aplteam2.com/aplwiki/WinFile?action=AttachFile&do=get&target=WinFile.ZIP | Download right now]] [[http://aplwiki.com/WinFile?action=AttachFile&do=get&target=WinFile.ZIP|Download WinFile script right now]]
Line 59: Line 61:
[[attachment:WinFile.ZIP | Manage the attachment]] 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]].

Dealing with Files and Directories

WinFile is part of the CategoryAplApl 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

***  WinFile (Class)  ***
Shared Methods:
Cd             
CheckPath      
CopyTo         
Copyright      
DateOf         
Delete         
Dir            
DirX           
DoesExistDir   
DoesExistFile  
GetAllDrives   
GetDriveAndType
GetTempFileName
GetTempPath    
History        
IsDirEmpty     
ListDirsOnly   
MkDir          
MoveTo         
ReadAnsiFile   
RmDir          
Version        
WriteAnsiFile  
YoungerThan    

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

Current state:

1.4.3

Download

You have two options: you can either download the script for usage:

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 APLAPL-specific standards.


CategoryAplApl

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