[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Deleting Files with SQR -Reply
- Subject: Deleting Files with SQR -Reply
- From: Andrew Campbell <acampbell@UNITEDMEDIA.COM>
- Date: Tue, 10 Mar 1998 16:30:34 -0500
You can use the SYSTEM command with "delete foo.obj" in a string
>>> Chris Hagen <Chris_Hagen@LASALLE.COM> 03/10/98 04:10pm >>>
HELLO.
I am writing some interface programs and am wondering if it is
possible to write a small SQR that will delete a file if that file
exists.
I would like the program to:
1) Read C:\TEMP
2) See if C:\TEMP\FOO.dat exists.
3) Delete C:\TEMP\FOO.dat if it indeed exists.
I have looked through the B-board postings and my SQR
documentation
but have not seen anything discussing this issue.
Thank you for your time and consideration.
Chris