1bNC COMNC115 DOC|NCN COM&•cNCO COM* NEWNC TXT< ô?SYN COM.àeÿ !9"”1' ¯2ÂtÍ—Í2– Í}þ Ò-8Ãß:€·Â:¨Ãß Í:–_Í!€' €Íœ( ÍÞÊ4þ/Êþ(>Êl¯2¾ë"¼!"°! ÛÍÞÊ4þEÊ”þNÊ•ÃW¯2ÂÃWåÍ5áÍËå*°"°á:¾·ÊÄë*¼ëÍÞÊÄþ)›"¿¯2\Í5:\2Á*°}´Âð©Í—:–_Í*”ùÉ*°"›Íÿ*¿"²"¶*ö"´ådÍ—Ñ*²{•OzœGÍÊÍ�Í�! "—!Ç åååÈ $6Íœ*—Ñ Íœáï $ÍœÑÍ<ÂaÉÃß:Á2ï Íè*—"—*°+"°}´Â,Ãâ{æ_ÍÉ ̓ à Ã~# x±ÂœÉ:\·ÊÃG:–<¸ÊÃxÆ@_̓:̓!]åÅ~þ ÊÔ_̓Áá# ÂÈ.̓!eåÅ~þ Êñ_̓Áá# ÂåÉ|ºÀ}»É*›"ª!"¬"®*ª¯|g}o"ª´Èë*›+}“o|šg"¦!"¤*¤"¢*¢ë*ª"¨Í|ÊhÚhͯ*ªë*¢}“o|šg"¢úhµÊhÃ7*¤#"¤ë*¦ÍùÚÃ1*¬#"¬*¢))))ë! "žå*¨))))ë! " Ñ¾À#Â¥É*®#"®*žë* Fwx# ¿ÉÕå:\·ÊÞ_Í\ÍáÑ<ÂúåÕ:–_ÍÑáÉÕåÑ=‡‡‡‡‡Õ!€_Ñ#:\ ~#Â!ÑÕå\ÍáÑ<ÂúÃì!\å*¼ëÍÞá·ÊQÞ@Gþ:ÊY:–É·Èþ ÀÃÞÍÈ!Ç \ ÕÅÍœUÍ—ͧ�Í—!ï ÁÑÍœͧÍ�Õë"è *¶ëÍÇ !Í·ÂM*¶€"¶ë*´ÍùÜvÑÃÑÍvï Í<Ê^ÉÛÃßûÃßÃßÃß*¶ë*²ÍùÈå{•OzœGÅrÍ—ÁÍÊ…Í—áëÕÍï "Í·Âd* #" á€ë*¶Íù›*²"¶ÉÅá' ÕÕ ÍùÆ0 ÂØÑ>$Ñþ0Âö Âë×ůÃ�ò €)à )# ÂÁÉ:Ç G:ï ¸È:·Âdï Í<Èï ÕÕÍ<Ê^ÑÍ<Êp!È ÑÕ ÍœÑÍ<Êj!" ·Éï ÕÍ<ÑÊS¯É NEWCOPY Version 1.15 Dave Rand 01/19/1983 $Use: NC [/N|/E] (fspec1 fspec2) fspec3 | fspec1 fspec3 Where fspecN can be wildcard, and fspec3 defines the destination drive for the files. /N means copy NON existing files. /E means copy EXISTING files (default).$ Can't find any files to copy!$ File not found.$ Can't close destination file.$ Disk full.$ Directory full.$ Can't delete old file. R/O?$ CP/M version 2.x required!$Copying file: $Buffer size: $--------> Writing $ bytes. $ to $ Documentation for NC.COM Dave Rand 10232-160 Street Edmonton, Alberta (403) 484-4114 NC is a "New Copy" utility. It works with files, rather than disks, so it is compatible with any(*) CP/M 2.x system. I am one of the type who has a standard set of utilities, which I upgrade from time to time. I then distribute these upgrades onto my working disks. The problem: ------------ The problem with this is twofold: 1. Not all of the files on the source disk may be on the working disk. (eg. Source disk has C, Fortran and Basic, destination has only C) 2. There may be files on the destination disk that you do not wish altered, so a bulk disk copy will not work. Until now, SWEEP has been an unsatisfactory, but welcome, answer. The solution: ------------- NC has overcome the problem of updating disks. It will ONLY copy files that ALREADY EXIST on the destination (or, with a switch, files that do not already exist). While this capability has been available for some time on other computers, this is the only one I am aware of for CP/M. Now, when you get that new distribution disk for the fantastic QQz compiler, you can update your existing disks as follows: A>NC B:*.COM A: As well, since NC supports multiple wildcards, you can do this: A>NC (B:*.COM B:*.QQZ B:Q*.Q*) A: Which will take all *.COM, *.QQZ and Q*.Q* files that exist on drive B, and copy them on top of the files that exist on drive A. Since the destination files are deleted before copying begins, you should not have to worry about running out of disk space. NC also allows you to copy files that DO NOT already exist. This means you can merge disks as follows: A>NC /N B:*.* A: This will take all files from B that DO NOT already exist on A, and copy them to drive A. With version 1.15 and up, multiple source drives may be specified, as follows: A>NC /N (B:*.COM C:*.QQZ D:*.ARC D:*.DIR) A: This means copy the selected files from drives B, C and D to drive A. --------------------------------------------------------------------------- * Note: This system has been tested on: SS/SD 8" SS/SD 5" DS/DD 8" -1 meg capacity DS/DD 8" -1.2 meg Hard -2.6 meg Hard -8 meg In addition, it is known to work with files over 512K. All tests were made with CP/M version 2.2, and this program WILL NOT work with 1.4 or 1.3, as it uses random positioning for the file write. ade with CP/M version 2.2, and this program WILL NOT workÄ NC /N A:*.* B:è ï Í2ÍÃû Í  Í» ͵ Ãû Í  Ãû Í– þ8Ê{ æÄ‚yæ0°Ãø Í2͵ Ãû Í– °GÍ» Í‹ °Ãø Í– °Í1Í» ͯ Ãû Í2ͯ Ãû Í– æ(Ä‚yæ° Í}·Ê™>O2v!ê"Ÿ*.ê"L.ý%ù++Í®!ïÕÍå¯*Lë!ëãÍÑ!p+~Æ o6:OëéÉå*FÍá~#þ#ÊÝþ ÊûþÊüÃå>2É:5·ÈÍNÉ~·È#þ Èþ_Â> à ~#·ÈÃp#qÂ.É8Ê{ æÄ‚yæ0°Ãø  : $àÕå#~þ Ê_þÊ_ÃP6 #6$+"FÑÍ’HÍ’!55#ååÍ)Ñ Í*F6 #6 á##ÑÍ ÉåÕÅ ÍÁÑáÉ~þ À#Þ~·Èþ È#æ Í:]þ Ê’þ?Ê’!�͹þÒ’!®"¬!�ÍždÍ Ížå!tÍáÍÕÍ­¯!2¨"Ä NC A:*.* B: Ù è ï Í2ÍÃû Í  Í» ͵ Ãû Í  Ãû Í– þ8Ê{ æÄ‚yæ0°Ãø Í2͵ Ãû Í– °GÍ» Í‹ °Ãø Í– °Í1Í» ͯ Ãû Í2ͯ Ãû Í– æ(Ä‚yæ° Í}·Ê™>O2v!ê"Ÿ*.ê"L.ý%ù++Í®!ïÕÍå¯*Lë!ëãÍÑ!p+~Æ o6:OëéÉå*FÍá~#þ#ÊÝþ ÊûþÊüÃå>2É:5·ÈÍNÉ~·È#þ Èþ_Â> à ~#·ÈÃp#qÂ.É8Ê{ æÄ‚yæ0°Ãø  : $àÕå#~þ Ê_þÊ_ÃP6 #6$+"FÑÍ’HÍ’!55#ååÍ)Ñ Í*F6 #6 á##ÑÍ ÉåÕÅ ÍÁÑáÉ~þ À#Þ~·Èþ È#æ Í:]þ Ê’þ?Ê’!�͹þÒ’!®"¬!�ÍždÍ Ížå!tÍáÍÕÍ­¯!2¨"Ä š ª ³ Â Ë Ò Ù è ï Í2ÍÃû Í  Í» ͵ Ãû Í  Ãû Í– þ8Ê{ æÄ‚yæ0°Ãø Í2͵ Ãû Í– °GÍ» Í‹ °Ãø Í– °Í1Í» ͯ Ãû Í2ͯ Ãû Í– æ(Ä‚yæ° Í}·Ê™>O2v!ê"Ÿ*.ë"L.ý%ù++Ͱ!ïÕÍå¯*Lë!ëãÍÑ!p+~Æ o6:OëéÉå*FÍá~#þ#ÊÝþ ÊûþÊüÃå>2É:5·ÈÍNÉ~·È#þ Èþ_Â> à ~#·ÈÃp#qÂ.É8Ê{ æÄ‚yæ0°Ãø : $Õå#~þ Ê_þÊ_ÃP6 #6$+"FÑÍ’HÍ’!55#ååÍ)Ñ Í*F6 #6 á##ÑÍ ÉåÕÅ ÍÁÑáÉ~þ À#Þ~·Èþ È#æ Í:]þ Ê’þ?Ê’!�͹þÒ’!®"¬!�ÍždÍ Ížå!tÍáÍÕÍ­¯!2¨"©!á5ú-áåååÍ)ÓÍ’Ñ Íá6 #6 #ͦ6?#åÃ>È2¨!þ "©á6:]þXÊZ!C?"e>M2g\Í<ÂyͺSAVE 2 .COMâÍ’Ã?-ÅÍÁ†É8Í’Í‚iÍ’Í‚bÍ’Ãë"FëÒÍ’É~þ# ·ÊÊ#ûy252áÉ Enter a prompt for each "#" character to remind user of the parameter required. Make it no more than 12 chars in each prompt. You MAY use blanks in the PROMPTS, but rules for blanks and "_" will apply elsewhere. $ Prompt ? : $ Abort: name already in use. $ Prompting version of SYNONYM3 v. Sep 84 $ (To view newname.COM: TYPE newname.COM) $ SYNONYM format: SYNONYM newname oldname [parm string] newname proposed synonym for command. oldname standard name of command. (May give drive.) parm string optional string, prompted for when newname is run. $ To execute newname: newname [rparm1 rparm2 ...] rparmx ... optional runtime parameters Any "#"s in "parm string" will be replaced by an rparm. Rparms are separated by a SINGLE blank; two consecutive blanks indicate a null parm. (To pass an rparm with an embedded blank, use a "_" instead of a blank.) This PROMPTED version of SYNONYM takes 6 parameters maximum $A NOTE ON NEWNC.LBR Dave Rand's NC is a great little program which is perfect for updating disks. It can either copy all the files on A which ARE NOT on B, or all the ones on A which ARE on B. The only problem is the command line is hard to remember. All I have done here is use the program Synonym.com to create two command files, NCN.COM and NCO.COM, which WHEN RUN ON THE SAME DRIVE AS NC.COM will do it for you without any complex command line. NCN.COM stands for for NC New files. It will copy all the files from A that are not on B. (To create it I used the following command line with Synonym (Syn.com): Syn NC /N A:*.* B:). NCO.COM stands for NC Old files. It will copy all the files from A that are on B. (To create it I used the following command line: Syn NC A:*.* B:. The program defaults to copying the old files.) In case some of you want to set up similiar command files to run from B to A, or something else, I have also included Syn.com, a great old program which is much underestimated. One last reminder: be SURE to keep NC command on the same drive as NCN.COM and NCO.COM, or else they will simply hang and you'll have to reset. Howard Schwartz St. Louis KUG same drive as NCN.COM and NCO.COM, or else they will simply hang