|
PRAGMA PROGRAM REFERENCE MANUAL
|
Index
|
All Operation
|
|
Expand All ADDENDUM
|
DOS DELETE
|
DD
|
Standard Verb
|
Operating System Operation
|
Target = IPC STATUS (IS)
|
Deletes an operating system file. The noun IPC STATUS contains the result of the DOS DELETE operation.
|
DOS DELETE filename FILENAME FILENAME is an expression or a noun containing the name and optional path of the operating system file that has to be deleted.
|
SEE ALSO: IPC STATUS
|
DOS DELETE (DD)
DOS DELETE deletes an operating system file. The result of the operation will be written to the standard noun IPC STATUS (IS). If the file you want to delete exists, the noun IPC STATUS will contain OK and the file will have been deleted. If the file does not exist, the IPC STATUS will contain FILE NOT FOUND.
DOS DELETE lets you delete a file in any directory or drive you wish by simply preceding the filename with the drive and path of the file.
EXAMPLE
VERB called TEST DOS DELETE
1 COPY the value "TESTFILE.TXT" to the noun FILENAME 2 DOS DELETE filename FILENAME 3 DISPLAY the value IPC STATUS
This example deletes the file TESTFILE.TXT in the current directory.
It is important to always check the IPC STATUS since you are performing an operation on the operating system level where things are beyond the control of PRAGMA.
|
|
|
CustomWare® is a registered trademark of CustomWare Designs, Inc. All rights reserved.
CustomWare® is a registered servicemark of CustomWare Designs, Inc. All rights reserved.
All images and designs on this web site are copyrighted© 2021.
v
t
|
|