
NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 43
3.6 THE FILE OBJECT
The File object provides access to the Windows file system. The File object is
a property of the OS object; OS.File.
Methods
The following methods are available
Append content to a file.
Create a copy of an existing file.
Get the attributes of an existing file.
Get list of files with names that match a pattern.
Select a filename with a file Open dialog.
Select a filename with a file Save dialog
Remove (delete) an existing directory.
Set the attributes of an existing file.
Write contents to a new or existing file.
status = Append ( fileName, content )
Append content to the file. The content is specified as a text string. Return true
for success, false for failure. If the file does not exist, it is created. Use the File
properties LastError or LastErrorMessge to get additional error information.
status = Copy ( existingFile, newFile, overWrite )
Copy an existing file to a new file. If a file already exists with the new file name,
copy will fail unless overWrite is true. Return true for success, false for failure.
Use the File properties LastError or LastErrorMessge to get additional error
information.
Comentários a estes Manuais