Differences between revisions 2 and 57 (spanning 55 versions)
Revision 2 as of 2007-11-27 19:58:33
Size: 1011
Editor: KaiJaeger
Comment:
Revision 57 as of 2018-02-17 12:59:02
Size: 916
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Dealing with Files and Directories = = OS: Interface to the Operating system =
Line 3: Line 3:
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. {{{OS}}} is part of the CategoryAplTree project.
Line 5: Line 5:
See the list of methods (generated with [ADOC:ADOC]): <<TableOfContents>>

== Overview ==
This class offers methods that return the same result under Windows, Linux (without the PI) and Mac OS.

Examples are `GetPID` and `KillPID`.

Exceptions are the functions `ShellExecute` (Linux/Mac only) and `WinExecute` (Windows only). They
perform very similar tasks but with very different parameters and results, so they were separated.

== List of methods ==
Line 8: Line 18:
*** WinFile (Class) ***
Shared Methods:
  Cd
  CheckPath
  CopyTo
  DateOf
  Delete
  Dir
  DirX
  DoesExistDir
  DoesExistFile
  GetAllDrives
  GetDriveAndType
  GetTempFileName
  GetTempPath
  History
  IsDirEmpty
  ListDirsOnly
  MkDir
  MoveTo
  ReadAnsiFile
  RmDir
  Version
  WriteAnsiFile
  YoungerThan
Shared Methods:
  CreateParms_WinExecute
  GetPID
  GetSharedLib
  KillPID
  ShellExecute
  Version
  WinExecute
Line 35: Line 28:
Find out more by looking into the documentation attachment:WinFileDocumentation.html
Line 37: Line 29:
`OS` needs version 15.0 Unicode of Dyalog APL.
Line 38: Line 31:
<<Include(APLTreeDownloads)>>
Line 39: Line 33:
||Original author:||KaiJaeger||
||Responsible:||KaiJaeger||
||Email:||kai@aplteam.com||
||Current state:||1.1||

Goto the [:WinFileDownloadPage:WinFileDownloadPage]
Line 46: Line 34:
CategoryOpenSourceApl CategoryAplAplDyalog CategoryAplTree

OS: Interface to the Operating system

OS is part of the CategoryAplTree project.

Overview

This class offers methods that return the same result under Windows, Linux (without the PI) and Mac OS.

Examples are GetPID and KillPID.

Exceptions are the functions ShellExecute (Linux/Mac only) and WinExecute (Windows only). They perform very similar tasks but with very different parameters and results, so they were separated.

List of methods

Shared Methods:                                                                                                                     
  CreateParms_WinExecute
  GetPID           
  GetSharedLib     
  KillPID          
  ShellExecute     
  Version          
  WinExecute       

OS needs version 15.0 Unicode of Dyalog APL.


CategoryAplTree

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