home *** CD-ROM | disk | FTP | other *** search
- 1000 PRINT " MS-ZERO: Zero out and Delete/Erase files"
- 1020 PRINT " ": PRINT " ": INPUT "Enter File name to be Deleted ";FL$
- 1030 OPEN "R",1,FL$,128
- 1035 SZ! = LOF(1)
- 1040 SIZE% = SZ! / 128! : Z$=STRING$(128,255)
- 1044 IF SZ! <> (SIZE% * 128!) THEN SIZE% = SIZE% + 1
- 1050 FIELD #1, 128 AS SECTOR$
- 1060 FOR J%=1 TO SIZE% : LSET SECTOR$ = Z$ : PUT #1, J% : NEXT J%
- 1070 CLOSE 1
- 1080 PRINT " Erased ";(SIZE% * 128!);" bytes of file: "; FL$
- 1090 KILL FL$
- 1100 PRINT " File ";FL$;" Zeroed and Deleted /erased"
- 1110 END
- ased ";(SIZE% * 128!);" bytes of file: "; FL$
- 1090 KILL FL$
- 1100 PRINT " File ";FL$;" Zeroed and Deleted /e