Differences between revisions 38 and 39
Revision 38 as of 2011-07-04 17:53:21
Size: 1881
Editor: KaiJaeger
Comment: New version
Revision 39 as of 2011-07-11 13:48:52
Size: 2010
Editor: KaiJaeger
Comment: New version
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
Shared Methods:
Cd
CheckPath
CopyTo
Copyright
DateOf
Delete
Dir

DirX
DoesExist
DoesExistDir
DoesExistFile
GetAllDrives
GetDriveAndType
GetTempFileName
GetTempPath
History
IsDirEmpty
ListDirsOnly
MkDir
MoveTo
ReadAnsiFile
RmDir
Version
WriteAnsiFile
YoungerThan
Cd    
CheckPath     
CopyTo     
Copyright     
DateOf      Delete
Dir

DirX    
DoesExist          
DoesExistDir     
DoesExistFile     
GetAllDrives    
GetDriveAndType    
GetTempFileName    
GetTempPath     
History    
IsDirEmpty     
ListDirXIndices
ListDir
sOnly       ListFileAttributes
MkDir     
MoveTo    
ReadAnsiFile     
RmDir     
Version     
WriteAnsiFile    
YoungerThan     
Line 54: Line 54:
||Current state: ||1.6.1 || ||Current state: ||1.7.0 ||

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

***  WinFile (Class)  ***
Cd                 
CheckPath          
CopyTo             
Copyright          
DateOf             
Delete             
Dir                
DirX               
DoesExist          
DoesExistDir       
DoesExistFile      
GetAllDrives       
GetDriveAndType    
GetTempFileName    
GetTempPath        
History            
IsDirEmpty         
ListDirXIndices    
ListDirsOnly       
ListFileAttributes 
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.7.0

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


CategoryAplTree

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