[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] delete file
Hi Eduardo,
The following code works for us...
let $Comspec = getenv('COMSPEC')
let $Host_Call = $Comspec || ' /C del/q {IMPORTPREFIX}filename.txt'
call system using $Host_Call #Call_Status
if #Call_Status = 0
show 'File Deletion Successful'
else
show 'File Deletion NOT SUCCESSFUL'
show '#Call_Status: ' #Call_Status
stop
end-if
Hope this helps!
Regards,
Don
sqr-users-bounces+don.barclay=srs.gov@sqrug.org wrote on 12/08/2004
11:24:50 AM:
> Hello all,
>
> I'm doing a program that read a .CSV file,
> but after close the file, I need to delete the file from it's location
> does anyone can tell me some command to delete it?
>
> thank you so much
>
>
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users