| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | determining if file is 0 |
...
RW>> IF the files left behind actually contain data, I want to
RW>> process them in a batch. IF zero byte files, ignore.
RW>> WHat are some favorite tricks for ascertaining this out
RW>> there?
RW>> tHis is for dos 6.22 btw.
PQ> IIRC, the old trick was to try to get DOS to copy it to
PQ> some other directory. If the new copy exists (IF EXIST
PQ> [\dir\newfile]) then the original is more than 0-bytes.
Neat and simple. I didn't know that one. Thanks.
BOB KLAHN bob.klahn{at}sev.org http://home.toltbbs.com/bobklahn
... Support your local medical examiner. Die strangely.
* Silver Xpress V4.5/P [Reg]
--- Platinum Xpress/Win/WINServer v3.0pr5a
* Origin: FidoTel & QWK on the Web! www.fidotel.com (1:124/311)SEEN-BY: 10/1 3 34/999 90/1 120/228 123/500 140/1 222/2 226/0 249/303 250/306 SEEN-BY: 261/20 38 100 1381 1404 1406 1410 1418 266/1413 280/1027 320/119 SEEN-BY: 393/68 396/45 633/104 260 267 285 690/682 734 712/848 800/432 801/161 SEEN-BY: 801/189 2222/700 2320/100 105 200 2905/0 @PATH: 124/311 140/1 261/38 633/260 267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.