Differences between revisions 27 and 28
Revision 27 as of 2011-03-01 16:06:23
Size: 1916
Editor: KaiJaeger
Comment: New version
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 7: 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 17: 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 51: Line 53:
||Current state: ||1.4.2 || ||Current state: ||1.4.3 ||

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

WinFile (last edited 2016-09-07 08:10:03 by KaiJaeger)