home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / FLOPPIES / DSK_FIL.ZIP / DSK-FIL.DOC next >
Encoding:
Text File  |  1986-04-11  |  3.8 KB  |  81 lines

  1.                  Documentation on DSK2FIL.BAS and FIL2DSK.BAS
  2.                                  Rod L. Renner
  3.                                Silver Spring MD
  4.                                 April 11, 1986
  5.  
  6.  
  7.      Did you ever want to send an entire diskette to a friend via modem, but 
  8. couldn't because it was not a DOS-formatted diskette?  Or perhaps it was a DOS 
  9. diskette, but you wanted to be sure it was duplicated exactly, sector for 
  10. sector.  No?! Then put this down and go do something else.  Yes (or Maybe)?  
  11. Then read on...  
  12.  
  13.    
  14.      The BASIC program, DSK2FIL, reads and converts the contents of a diskette 
  15. to a DOS file, which can be sent via modem to someone else, and converted back 
  16. to a diskette using FIL2DSK, duplicating exactly the contents of the original, 
  17. sector for sector and track for track.  There are some restrictions (of 
  18. course).  First, the diskette, while not required to be a DOS diskette, must 
  19. not be a copy-protected one and must be formatted in the following ways: 
  20.  
  21.      160K - single sided, 8 sectors/track, 40 tracks
  22.      180K - single sided, 9 sectors/track, 40 tracks
  23.      320K - double sided, 8 sectors/track, 40 tracks
  24.      360K - double sided, 9 sectors/track, 40 tracks
  25.      1.2M - double sided,17 sectors/track, 80 tracks
  26.  
  27.      Secondly, because the file created by FIL2DSK will be larger than the 
  28. original diskette, you and the friend on the receiving end must have a second 
  29. drive (most preferably a hard disk) with enough room to contain this large 
  30. file.  For instance, you need a hard disk with sufficient space to convert a 
  31. 1.2Mb AT diskette (or smaller), an empty formatted 360K DOS diskette to hold a 
  32. 320K (or smaller) diskette, etc.  
  33.  
  34.      Because the converted file is a large file, which will take a long time 
  35. to send by modem, I HIGHLY RECOMMEND that you use a file compression program, 
  36. such as ARC or SQ/USQ (located on most bulletin boards), to shrink the file 
  37. before sending and unshrink it at the other end.  
  38.  
  39.      Here are the general steps to follow in duplicating diskettes:
  40.  
  41.      1.  Power up in DOS and, if necessary, prepare a target disk  with 
  42. sufficient space to contain the converted file (ie., format a new diskette or 
  43. check your hard disk).  Check your source diskette with CHKDSK to determine 
  44. its format (160K, 180K, etc.) 
  45.  
  46.      2.  Call up BASIC, load DSK2FIL.BAS and RUN.
  47.  
  48.      3.  Insert the source and target diskettes (if necessary) in the 
  49. appropriate drives and tell the program in which drive the source is located 
  50. and the name (including drive letter, path and filename) for the target file.
  51.  
  52.      4.  Shrink the target file with the file compression program.  In many 
  53. cases, you will achieve a significant saving by doing this.
  54.  
  55.      5.  Call up your friend through your modem and send the (hopefully 
  56. compressed) program to him.  Be sure that his target drive will be able to 
  57. hold the uncompressed target file.  Also, be certain to send him a message 
  58. telling him the format of the original diskette.
  59.  
  60.      6.  Make certain that you also send a copy of FIL2DSK.BAS to your friend 
  61. as well as the unshrink program, if needed.  Clear out the target file you 
  62. just sent. Your part is finished.  
  63.  
  64.      7.  Your friend should now prepare a diskette with the format according 
  65. to your instructions.  This will become the duplicate. Next, he should 
  66. unshrink the transmitted file.  
  67.  
  68.      8.  He should call up BASIC, load FIL2DSK.BAS and RUN.
  69.  
  70.      9.  He should insert the target diskette and tell the program the name of 
  71. the transmitted file and the target drive.  After FIL2DSK finishes, your 
  72. friend will have a copy of you diskette for his very own!  
  73.  
  74.      After I've said all of this, you may find it easier simply to make a 
  75. DISKCOPY of the original and send it to your friend via the Post Office, but 
  76. this way is more fun and quicker.  Good Luck!! 
  77.  
  78.  
  79.  
  80.  
  81.