home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.wanted
- Path: sparky!uunet!caen!umeecs!nova!ellis
- From: ellis@nova.gmi.edu (Stew Ellis)
- Subject: Re: Add an e-o-f
- Message-ID: <ellis.715117349@nova>
- Sender: news@zip.eecs.umich.edu (Mr. News)
- Organization: GMI Engineering&Management Institute, Flint, MI
- References: <1992Aug27.034554.29722@mixcom.com>
- Date: Sat, 29 Aug 1992 19:42:29 GMT
- Lines: 35
-
- ggvvgg@mixcom.com (Dave Fenske) writes:
-
- >I have heard that such programs actually do exist. I'm in need of a dos
- >utility which will append and e-o-f to a file which is recently closed,
- >but which may be missing the actual ^Z.
-
- >A possible scenario might be a file which is diverted from, let's say,
- >a plotting device. Some other programs (particularly network utilities)
- >might not deal properly with a file which technically doesn't end.
-
- >Any help would be greatly appreciated.
-
- >DF
-
- DOS has this capability built in. The manual entry for COPY details the /b
- and /a switches.
-
- I used to have to use this to go back and forth between two editors, one
- that did not care about ^Z and one that did.
-
- If you have a file that lacks the ^Z, file.noz,
-
- copy /b file.noz file.ctz /a
-
- This should help. Most modern dos programs no longer use the ^Z, which is a
- holdover of CPM's inability to tell exactly how many bytes a file had.
- Properly-written dos programs now check the directory entry to see exactly
- how many bytes the file contains.
-
-
- --
- -- ___________________
- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
- Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /
- Flint, MI 48504 ellis@nova.gmi.edu /________/ / / / /
-