Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

DOStips

DOStips Mark Bendig Reference and Enhanced Information Services Dept. Basically, REPLACE "replaces files that already exist at the destination [disk] with updated versions from the source [disk], or Th e Case of th e Double copies to the destination only (those) Do t source files that do not already exist at the subdirectory and a quick scan with the DIR destination [disk]," according to the Have you ever noticed the mysterious command shows that yes, you did write command's HELP screen (see the preceding single- and double-dot entries that appear that letter renewing your OCLC Micro at the top of every DIR listing outside of subscription last Fri. [Whew! Thanks!] But section of this article). REPLACE is useful if your root directory? These are not files, nor you haven't replied to the Director's request you have a subdirectory on your hard disk filled with files, but you just want to copy are they named subdirectories of the kind for more information about your proposal one group of those files to a diskette (or you create yourself. Rather, they are special for a staff in-service training day? A quick another subdirectory) to update the copies ways used by DOS to refer to the current' WP and you're on your way! of those files that are already there. subdirectory (single dot) and the "parent" or next-level-up subdirectory (double dot). For example, if you use a diskette to hold Hel p o n th e Way backups of a group of data files that change You can use the single dot any time from day to day, you could use the you would use *.*; they both mean "the Are you using an M310 or M330 REPLACE command at the end of each day whole subdirectory." For example, COPY Workstation? Did you know (remember?) to replace each file already on the diskette A:. does exactly the same thing as COPY that a new, user-friendly help system is part wit h its updated version from the hard A:*.* but with fewer keystrokes. The double of the MS-DOS command structure on disk. To accomplish this, enter something dot can be used to streamline changing these WYSE computers? (Sorry. IBM, like from one subdirectory to another. The Compaq, et al. haven't implemented such a command CD .. moves you up one level in feature.) Finally, we can stop desperately REPLACE *.* A: the subdirectory structure. For example, if digging for the DOS manual every time we A number of "switches" can be entered you're in subdirectory \CIRCRECS\EASTBR, want to use BACKUP and RESTORE or try after the main part of the REPLACE the command CD .. will move you to one of those funny switches in the command to modify its action. Any subdirectory \CIRCRECS, one level up, and FORMAT command. The information is, as number of switches may be entered, it's easier than typing CD \CIRCRECS to the)' say, just a few keystrokes away. although certain pairs are incompatible. The accomplish the same thing. Using the DOS HELP command is most important switch is /A. If you include Another use for the double dot is in simplicity itself: just enter HELP, followed the /A switch, the action of the REPLACE moving to another subdirectory at the same by the command you're interested in. For command is inverted: it will copy to the level. To get from subdirectory \CIRCRECS\ example, HELP FORMAT will give you the destination disk only files that were not EASTBR to \CIRCRECS\WESTBR, for rundown on the FORMAT command. Enter already on it. This command would look example, you could enter CD ..\WESTBR. HELP by itself to see a list of commands like Once you get used to it, this technique and topics available; you'll be surprised. becomes second nature. The information provided, which often REPLACE *.* A: /A A final interesting use for the double goes on for several screens, is complete and Among the other available switches are /D dot is as the first entry in your PATH well written and makes excellent use of and /P. /D replaces a file only if the version statement (usually found in your video attributes such as bold and reverse on the source disk has a later date than the AUTOEXEC.BAT file). For example, you video. The text seems to be virtually the corresponding file on the destination disk; might use the PATH statement same copy that appears in the printed DOS it can't be used with /A. The /P switch manual itself (where is that thing anyway?). PATH ..;C:\DOS;C:\PCUTILS prompts you for confirmation before To generate a reference copy, just press replacing or adding each file to the With this PATH set up, DOS will look for the <Print Screen> key as each screen of destination disk. executable files in the parent subdirectory information is displayed. For complete information about the first (if they're not found in the current REPLACE command, just enter HELP subdirectory). This is handy if you keep REPLACE at the DOS prompt (if you're Ne w REPLACE your data files in a subdirectory one level using a WYSE PC). below that of the application program Comman d using them. You can use the data file This item is for readers wh o have DOS subdirectory as the current directory (listing Hol d It Jus t a Minute! version 3.2 or later. Along with version 3.2 files with DIR, etc.), but still run the comes the REPLACE command, a variation To suspend the execution of a DOS application program just by typing its on the COPY command. But what a command, press <CTRL><NUMLOCK>. name. For example, you have a WordPerfect variation! Let's take a quick tour of this Press any key to resume execution. "parent" directory and a \LETTERS versatile command. subdirectory (and \ARTICLES and \MAILLIST and \CATCARD, etc., subdirectories). You're in the \LETTERS OCLC Micro Vol. 5, No. 3 June 1989 7 http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png OCLC Micro Emerald Publishing

DOStips

OCLC Micro , Volume 5 (3): 1 – Mar 1, 1989

Loading next page...
 
/lp/emerald-publishing/dostips-KkHEMX9epO

References

References for this paper are not available at this time. We will be adding them shortly, thank you for your patience.

Publisher
Emerald Publishing
Copyright
Copyright © Emerald Group Publishing Limited
ISSN
8756-5196
DOI
10.1108/eb055928
Publisher site
See Article on Publisher Site

Abstract

Mark Bendig Reference and Enhanced Information Services Dept. Basically, REPLACE "replaces files that already exist at the destination [disk] with updated versions from the source [disk], or Th e Case of th e Double copies to the destination only (those) Do t source files that do not already exist at the subdirectory and a quick scan with the DIR destination [disk]," according to the Have you ever noticed the mysterious command shows that yes, you did write command's HELP screen (see the preceding single- and double-dot entries that appear that letter renewing your OCLC Micro at the top of every DIR listing outside of subscription last Fri. [Whew! Thanks!] But section of this article). REPLACE is useful if your root directory? These are not files, nor you haven't replied to the Director's request you have a subdirectory on your hard disk filled with files, but you just want to copy are they named subdirectories of the kind for more information about your proposal one group of those files to a diskette (or you create yourself. Rather, they are special for a staff in-service training day? A quick another subdirectory) to update the copies ways used by DOS to refer to the current' WP and you're on your way! of those files that are already there. subdirectory (single dot) and the "parent" or next-level-up subdirectory (double dot). For example, if you use a diskette to hold Hel p o n th e Way backups of a group of data files that change You can use the single dot any time from day to day, you could use the you would use *.*; they both mean "the Are you using an M310 or M330 REPLACE command at the end of each day whole subdirectory." For example, COPY Workstation? Did you know (remember?) to replace each file already on the diskette A:. does exactly the same thing as COPY that a new, user-friendly help system is part wit h its updated version from the hard A:*.* but with fewer keystrokes. The double of the MS-DOS command structure on disk. To accomplish this, enter something dot can be used to streamline changing these WYSE computers? (Sorry. IBM, like from one subdirectory to another. The Compaq, et al. haven't implemented such a command CD .. moves you up one level in feature.) Finally, we can stop desperately REPLACE *.* A: the subdirectory structure. For example, if digging for the DOS manual every time we A number of "switches" can be entered you're in subdirectory \CIRCRECS\EASTBR, want to use BACKUP and RESTORE or try after the main part of the REPLACE the command CD .. will move you to one of those funny switches in the command to modify its action. Any subdirectory \CIRCRECS, one level up, and FORMAT command. The information is, as number of switches may be entered, it's easier than typing CD \CIRCRECS to the)' say, just a few keystrokes away. although certain pairs are incompatible. The accomplish the same thing. Using the DOS HELP command is most important switch is /A. If you include Another use for the double dot is in simplicity itself: just enter HELP, followed the /A switch, the action of the REPLACE moving to another subdirectory at the same by the command you're interested in. For command is inverted: it will copy to the level. To get from subdirectory \CIRCRECS\ example, HELP FORMAT will give you the destination disk only files that were not EASTBR to \CIRCRECS\WESTBR, for rundown on the FORMAT command. Enter already on it. This command would look example, you could enter CD ..\WESTBR. HELP by itself to see a list of commands like Once you get used to it, this technique and topics available; you'll be surprised. becomes second nature. The information provided, which often REPLACE *.* A: /A A final interesting use for the double goes on for several screens, is complete and Among the other available switches are /D dot is as the first entry in your PATH well written and makes excellent use of and /P. /D replaces a file only if the version statement (usually found in your video attributes such as bold and reverse on the source disk has a later date than the AUTOEXEC.BAT file). For example, you video. The text seems to be virtually the corresponding file on the destination disk; might use the PATH statement same copy that appears in the printed DOS it can't be used with /A. The /P switch manual itself (where is that thing anyway?). PATH ..;C:\DOS;C:\PCUTILS prompts you for confirmation before To generate a reference copy, just press replacing or adding each file to the With this PATH set up, DOS will look for the <Print Screen> key as each screen of destination disk. executable files in the parent subdirectory information is displayed. For complete information about the first (if they're not found in the current REPLACE command, just enter HELP subdirectory). This is handy if you keep REPLACE at the DOS prompt (if you're Ne w REPLACE your data files in a subdirectory one level using a WYSE PC). below that of the application program Comman d using them. You can use the data file This item is for readers wh o have DOS subdirectory as the current directory (listing Hol d It Jus t a Minute! version 3.2 or later. Along with version 3.2 files with DIR, etc.), but still run the comes the REPLACE command, a variation To suspend the execution of a DOS application program just by typing its on the COPY command. But what a command, press <CTRL><NUMLOCK>. name. For example, you have a WordPerfect variation! Let's take a quick tour of this Press any key to resume execution. "parent" directory and a \LETTERS versatile command. subdirectory (and \ARTICLES and \MAILLIST and \CATCARD, etc., subdirectories). You're in the \LETTERS OCLC Micro Vol. 5, No. 3 June 1989 7

Journal

OCLC MicroEmerald Publishing

Published: Mar 1, 1989

There are no references for this article.