home *** CD-ROM | disk | FTP | other *** search
- Documentation on DSK2FIL.BAS and FIL2DSK.BAS
- Rod L. Renner
- Silver Spring MD
- April 11, 1986
-
-
- Did you ever want to send an entire diskette to a friend via modem, but
- couldn't because it was not a DOS-formatted diskette? Or perhaps it was a DOS
- diskette, but you wanted to be sure it was duplicated exactly, sector for
- sector. No?! Then put this down and go do something else. Yes (or Maybe)?
- Then read on...
-
-
- The BASIC program, DSK2FIL, reads and converts the contents of a diskette
- to a DOS file, which can be sent via modem to someone else, and converted back
- to a diskette using FIL2DSK, duplicating exactly the contents of the original,
- sector for sector and track for track. There are some restrictions (of
- course). First, the diskette, while not required to be a DOS diskette, must
- not be a copy-protected one and must be formatted in the following ways:
-
- 160K - single sided, 8 sectors/track, 40 tracks
- 180K - single sided, 9 sectors/track, 40 tracks
- 320K - double sided, 8 sectors/track, 40 tracks
- 360K - double sided, 9 sectors/track, 40 tracks
- 1.2M - double sided,17 sectors/track, 80 tracks
-
- Secondly, because the file created by FIL2DSK will be larger than the
- original diskette, you and the friend on the receiving end must have a second
- drive (most preferably a hard disk) with enough room to contain this large
- file. For instance, you need a hard disk with sufficient space to convert a
- 1.2Mb AT diskette (or smaller), an empty formatted 360K DOS diskette to hold a
- 320K (or smaller) diskette, etc.
-
- Because the converted file is a large file, which will take a long time
- to send by modem, I HIGHLY RECOMMEND that you use a file compression program,
- such as ARC or SQ/USQ (located on most bulletin boards), to shrink the file
- before sending and unshrink it at the other end.
-
- Here are the general steps to follow in duplicating diskettes:
-
- 1. Power up in DOS and, if necessary, prepare a target disk with
- sufficient space to contain the converted file (ie., format a new diskette or
- check your hard disk). Check your source diskette with CHKDSK to determine
- its format (160K, 180K, etc.)
-
- 2. Call up BASIC, load DSK2FIL.BAS and RUN.
-
- 3. Insert the source and target diskettes (if necessary) in the
- appropriate drives and tell the program in which drive the source is located
- and the name (including drive letter, path and filename) for the target file.
-
- 4. Shrink the target file with the file compression program. In many
- cases, you will achieve a significant saving by doing this.
-
- 5. Call up your friend through your modem and send the (hopefully
- compressed) program to him. Be sure that his target drive will be able to
- hold the uncompressed target file. Also, be certain to send him a message
- telling him the format of the original diskette.
-
- 6. Make certain that you also send a copy of FIL2DSK.BAS to your friend
- as well as the unshrink program, if needed. Clear out the target file you
- just sent. Your part is finished.
-
- 7. Your friend should now prepare a diskette with the format according
- to your instructions. This will become the duplicate. Next, he should
- unshrink the transmitted file.
-
- 8. He should call up BASIC, load FIL2DSK.BAS and RUN.
-
- 9. He should insert the target diskette and tell the program the name of
- the transmitted file and the target drive. After FIL2DSK finishes, your
- friend will have a copy of you diskette for his very own!
-
- After I've said all of this, you may find it easier simply to make a
- DISKCOPY of the original and send it to your friend via the Post Office, but
- this way is more fun and quicker. Good Luck!!
-
-
-
-
-