PMS32 Online- Hilfereferenz
FSO - Zugriff auf das Systemobject (COM+) aus Windows. Siehe Hilfe
Zugriff auf das Systemobject (COM+) aus Windows. Siehe Hilfe
*/ 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...
Generate a path from an existing path and a name
Variant = My.Systems.FSO.BuildPath(Path as String,Name as String) Variant = My.Systems.FSO.BuildPath(Path,Name)
Copy a file
Variant = My.Systems.FSO.CopyFile(Source as String,Destination as String,OverWriteFiles as Boolean) Variant = My.Systems.FSO.CopyFile(Source,Destination,OverWriteFiles)
Copy a folder
Variant = My.Systems.FSO.CopyFolder(Source as String,Destination as String,OverWriteFiles as Boolean) Variant = My.Systems.FSO.CopyFolder(Source,Destination,OverWriteFiles)
Create a folder
Variant = My.Systems.FSO.CreateFolder(Path as String) Variant = My.Systems.FSO.CreateFolder(Path)
Create a file as a TextStream
Variant = My.Systems.FSO.CreateTextFile(FileName as String,Overwrite as Boolean,Unicode as Boolean) Variant = My.Systems.FSO.CreateTextFile(FileName,Overwrite,Unicode)
Delete a file
Variant = My.Systems.FSO.DeleteFile(FileSpec as String,Force as Boolean) Variant = My.Systems.FSO.DeleteFile(FileSpec,Force)
Delete a folder
Variant = My.Systems.FSO.DeleteFolder(FolderSpec as String,Force as Boolean) Variant = My.Systems.FSO.DeleteFolder(FolderSpec,Force)
Check if a drive or a share exists
Variant = My.Systems.FSO.DriveExists(DriveSpec as String) Variant = My.Systems.FSO.DriveExists(DriveSpec)
Check if a file exists
Variant = My.Systems.FSO.FileExists(FileSpec as String) Variant = My.Systems.FSO.FileExists(FileSpec)
Check if a path exists
Variant = My.Systems.FSO.FolderExists(FolderSpec as String) Variant = My.Systems.FSO.FolderExists(FolderSpec)
Return the canonical representation of the path
Variant = My.Systems.FSO.GetAbsolutePathName(Path as String) Variant = My.Systems.FSO.GetAbsolutePathName(Path)
Return base name from a path
Variant = My.Systems.FSO.GetBaseName(Path as String) Variant = My.Systems.FSO.GetBaseName(Path)
Get drive or UNC share
Variant = My.Systems.FSO.GetDrive(DriveSpec as String) Variant = My.Systems.FSO.GetDrive(DriveSpec)
Return drive from a path
Variant = My.Systems.FSO.GetDriveName(Path as String) Variant = My.Systems.FSO.GetDriveName(Path)
Return extension from path
Variant = My.Systems.FSO.GetExtensionName(Path as String) Variant = My.Systems.FSO.GetExtensionName(Path)
Get file
Variant = My.Systems.FSO.GetFile(FilePath as String) Variant = My.Systems.FSO.GetFile(FilePath)
Return the file name from a path
Variant = My.Systems.FSO.GetFileName(Path as String) Variant = My.Systems.FSO.GetFileName(Path)
Retrieve the file version of the specified file into a string
Variant = My.Systems.FSO.GetFileVersion(FileName as String) Variant = My.Systems.FSO.GetFileVersion(FileName)
Get folder
Variant = My.Systems.FSO.GetFolder(FolderPath as String) Variant = My.Systems.FSO.GetFolder(FolderPath)
Return path to the parent folder
Variant = My.Systems.FSO.GetParentFolderName(Path as String) Variant = My.Systems.FSO.GetParentFolderName(Path)
Get location of various system folders
Variant = My.Systems.FSO.GetSpecialFolder(SpecialFolder as uExtended) Variant = My.Systems.FSO.GetSpecialFolder(SpecialFolder)
Retrieve the standard input, output or error stream
Variant = My.Systems.FSO.GetStandardStream(StandardStreamType as uExtended,Unicode as Boolean) Variant = My.Systems.FSO.GetStandardStream(StandardStreamType,Unicode)
Generate name that can be used to name a temporary file
Variant = My.Systems.FSO.GetTempName()
Move a file
Variant = My.Systems.FSO.MoveFile(Source as String,Destination as String) Variant = My.Systems.FSO.MoveFile(Source,Destination)
Move a folder
Variant = My.Systems.FSO.MoveFolder(Source as String,Destination as String) Variant = My.Systems.FSO.MoveFolder(Source,Destination)
Open a file as a TextStream
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)
Get drives collection
Dispatch#IDriveColle = My.Systems.FSO.Drives
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