PMS32 Online- Hilfereferenz

MY.SYSTEMS.FSO

FSO - Zugriff auf das Systemobject (COM+) aus Windows. Siehe Hilfe


Hilfe: Windows Dateihandling
Zugriff auf das Systemobject (COM+) aus Windows. Siehe Hilfe


Code: Windows Dateihandling
*/ Kurzbeispiel für den Zugriff auf diese Struktur
*/ Der Zugriff erfolgt über: My.Systems.FSO
*/ Wird dieses Objekt in einem REPLACE oder einer Schleife SCAN ... ENDSCAN | FOR ... NEXT benötigt
*/ so sollte vor der Schleife die Objektstruktur in eine Variable geholt werden!
*/ Die Ausführungsgeschwindigkeit wird dadurch sehr vergrößert!
*/ Beispiel:
*/ Definieren einer LOKALEN Variablen
LOCAL loFSO AS My.Systems.FSO
*/ Setzen der Variablen
loFSO = My.Systems.FSO
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loFSO.Function1(),Feldname2 WITH loFSO.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loFSO.Function(Alias.Spalte) + 25
	lvValue = loFSO.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von FSO


Liste der Methoden von FSO


BuildPath() - FSO Method or Property

Generate a path from an existing path and a name
Hilfeinformation
Generate a path from an existing path and a name

Aufrufinformation
Variant = My.Systems.FSO.BuildPath(Path as String,Name as String)
Variant = My.Systems.FSO.BuildPath(Path,Name)
Codeinformation


CopyFile() - FSO Method or Property

Copy a file
Hilfeinformation
Copy a file

Aufrufinformation
Variant = My.Systems.FSO.CopyFile(Source as String,Destination as String,OverWriteFiles as Boolean)
Variant = My.Systems.FSO.CopyFile(Source,Destination,OverWriteFiles)
Codeinformation


CopyFolder() - FSO Method or Property

Copy a folder
Hilfeinformation
Copy a folder

Aufrufinformation
Variant = My.Systems.FSO.CopyFolder(Source as String,Destination as String,OverWriteFiles as Boolean)
Variant = My.Systems.FSO.CopyFolder(Source,Destination,OverWriteFiles)
Codeinformation


CreateFolder() - FSO Method or Property

Create a folder
Hilfeinformation
Create a folder

Aufrufinformation
Variant = My.Systems.FSO.CreateFolder(Path as String)
Variant = My.Systems.FSO.CreateFolder(Path)
Codeinformation


CreateTextFile() - FSO Method or Property

Create a file as a TextStream
Hilfeinformation
Create a file as a TextStream

Aufrufinformation
Variant = My.Systems.FSO.CreateTextFile(FileName as String,Overwrite as Boolean,Unicode as Boolean)
Variant = My.Systems.FSO.CreateTextFile(FileName,Overwrite,Unicode)
Codeinformation


DeleteFile() - FSO Method or Property

Delete a file
Hilfeinformation
Delete a file

Aufrufinformation
Variant = My.Systems.FSO.DeleteFile(FileSpec as String,Force as Boolean)
Variant = My.Systems.FSO.DeleteFile(FileSpec,Force)
Codeinformation


DeleteFolder() - FSO Method or Property

Delete a folder
Hilfeinformation
Delete a folder

Aufrufinformation
Variant = My.Systems.FSO.DeleteFolder(FolderSpec as String,Force as Boolean)
Variant = My.Systems.FSO.DeleteFolder(FolderSpec,Force)
Codeinformation


DriveExists() - FSO Method or Property

Check if a drive or a share exists
Hilfeinformation
Check if a drive or a share exists

Aufrufinformation
Variant = My.Systems.FSO.DriveExists(DriveSpec as String)
Variant = My.Systems.FSO.DriveExists(DriveSpec)
Codeinformation


FileExists() - FSO Method or Property

Check if a file exists
Hilfeinformation
Check if a file exists

Aufrufinformation
Variant = My.Systems.FSO.FileExists(FileSpec as String)
Variant = My.Systems.FSO.FileExists(FileSpec)
Codeinformation


FolderExists() - FSO Method or Property

Check if a path exists
Hilfeinformation
Check if a path exists

Aufrufinformation
Variant = My.Systems.FSO.FolderExists(FolderSpec as String)
Variant = My.Systems.FSO.FolderExists(FolderSpec)
Codeinformation


GetAbsolutePathName() - FSO Method or Property

Return the canonical representation of the path
Hilfeinformation
Return the canonical representation of the path

Aufrufinformation
Variant = My.Systems.FSO.GetAbsolutePathName(Path as String)
Variant = My.Systems.FSO.GetAbsolutePathName(Path)
Codeinformation


GetBaseName() - FSO Method or Property

Return base name from a path
Hilfeinformation
Return base name from a path

Aufrufinformation
Variant = My.Systems.FSO.GetBaseName(Path as String)
Variant = My.Systems.FSO.GetBaseName(Path)
Codeinformation


GetDrive() - FSO Method or Property

Get drive or UNC share
Hilfeinformation
Get drive or UNC share

Aufrufinformation
Variant = My.Systems.FSO.GetDrive(DriveSpec as String)
Variant = My.Systems.FSO.GetDrive(DriveSpec)
Codeinformation


GetDriveName() - FSO Method or Property

Return drive from a path
Hilfeinformation
Return drive from a path

Aufrufinformation
Variant = My.Systems.FSO.GetDriveName(Path as String)
Variant = My.Systems.FSO.GetDriveName(Path)
Codeinformation


GetExtensionName() - FSO Method or Property

Return extension from path
Hilfeinformation
Return extension from path

Aufrufinformation
Variant = My.Systems.FSO.GetExtensionName(Path as String)
Variant = My.Systems.FSO.GetExtensionName(Path)
Codeinformation


GetFile() - FSO Method or Property

Get file
Hilfeinformation
Get file

Aufrufinformation
Variant = My.Systems.FSO.GetFile(FilePath as String)
Variant = My.Systems.FSO.GetFile(FilePath)
Codeinformation


GetFileName() - FSO Method or Property

Return the file name from a path
Hilfeinformation
Return the file name from a path

Aufrufinformation
Variant = My.Systems.FSO.GetFileName(Path as String)
Variant = My.Systems.FSO.GetFileName(Path)
Codeinformation


GetFileVersion() - FSO Method or Property

Retrieve the file version of the specified file into a string
Hilfeinformation
Retrieve the file version of the specified file into a string

Aufrufinformation
Variant = My.Systems.FSO.GetFileVersion(FileName as String)
Variant = My.Systems.FSO.GetFileVersion(FileName)
Codeinformation


GetFolder() - FSO Method or Property

Get folder
Hilfeinformation
Get folder

Aufrufinformation
Variant = My.Systems.FSO.GetFolder(FolderPath as String)
Variant = My.Systems.FSO.GetFolder(FolderPath)
Codeinformation


GetParentFolderName() - FSO Method or Property

Return path to the parent folder
Hilfeinformation
Return path to the parent folder

Aufrufinformation
Variant = My.Systems.FSO.GetParentFolderName(Path as String)
Variant = My.Systems.FSO.GetParentFolderName(Path)
Codeinformation


GetSpecialFolder() - FSO Method or Property

Get location of various system folders
Hilfeinformation
Get location of various system folders

Aufrufinformation
Variant = My.Systems.FSO.GetSpecialFolder(SpecialFolder as uExtended)
Variant = My.Systems.FSO.GetSpecialFolder(SpecialFolder)
Codeinformation


GetStandardStream() - FSO Method or Property

Retrieve the standard input, output or error stream
Hilfeinformation
Retrieve the standard input, output or error stream

Aufrufinformation
Variant = My.Systems.FSO.GetStandardStream(StandardStreamType as uExtended,Unicode as Boolean)
Variant = My.Systems.FSO.GetStandardStream(StandardStreamType,Unicode)
Codeinformation


GetTempName() - FSO Method or Property

Generate name that can be used to name a temporary file
Hilfeinformation
Generate name that can be used to name a temporary file

Aufrufinformation
Variant = My.Systems.FSO.GetTempName()
Codeinformation


MoveFile() - FSO Method or Property

Move a file
Hilfeinformation
Move a file

Aufrufinformation
Variant = My.Systems.FSO.MoveFile(Source as String,Destination as String)
Variant = My.Systems.FSO.MoveFile(Source,Destination)
Codeinformation


MoveFolder() - FSO Method or Property

Move a folder
Hilfeinformation
Move a folder

Aufrufinformation
Variant = My.Systems.FSO.MoveFolder(Source as String,Destination as String)
Variant = My.Systems.FSO.MoveFolder(Source,Destination)
Codeinformation


OpenTextFile() - FSO Method or Property

Open a file as a TextStream
Hilfeinformation
Open a file as a TextStream

Aufrufinformation
Variant = My.Systems.FSO.OpenTextFile(FileName as String,IOMode as uExtended,Create as Boolean,Format as uExtended)
Variant = My.Systems.FSO.OpenTextFile(FileName,IOMode,Create,Format)
Codeinformation


Liste der Properties von FSO


Drives - FSO Method or Property

Get drives collection
Hilfeinformation
Get drives collection

Aufrufinformation
Dispatch#IDriveColle = My.Systems.FSO.Drives
Codeinformation


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt