Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I delete files from ASPECT script/

Status
Not open for further replies.

nasserz

Technical User
May 25, 2002
7
0
0
US
I tried:

run "delete s:\onight\eod_*"

and

Prog = "delete s:\onight\eod_*"
run Prog

Neither worked!


Thanks!
 
Just use

delfile "s:\onight\eod_*"

or define a string with your file in and then use:

delfile string
 
Hello,

As a Safeguard, use ISFILE to see if the File Exists and then Delete it.

if isfile "s:\onight\eod_*"
delfile "s:\onight\eod_*"
else
termwrites "NO File to Delete"
endif

Hank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top