home *** CD-ROM | disk | FTP | other *** search
-
-
- █████████████
- ███
- ███ ██▀▀▀▀▀██
- ██ ██ █ █ █
- ██ ██ █ ██ ██
- ██ █▀▀▀▀▀▀█ ██ ██ ██ ██
- ██ █▀ ▀█ ██▀▀▀▀▀▀▀ ██ ██
- ██ ██ ██ ██ ██ ██
- ███ ██ ██ ██ █████
- ███ ██ ██ ██ ███
- ████████████ ██ ██ █
- ██ ██ ██ █
- ██ ██ ██ █
- ██ ██ █
- ▀▀█ █▀▀ █
- ▀▀▀▀ █
-
-
- IT OVER HERE !
-
-
-
-
- -------------------------------
- COPY IT OVER HERE version 2.0
- -------------------------------
-
-
-
-
-
-
- Instead of typing:
- copy \DOS\UTILITIES\FILES\BACKUPS\MONTHS\myfile \LOTUS\WEEK1\FILES\1991
-
- just enter: ┌──────────────┐
- │ CH myfile │
- └──────────────┘
-
- and my program does all the work. It searches any disk drives you
- specify, speeds through all directories, finds the file, then brings
- a copy to your working directory.
-
- If you love typing, stick with DOS's "copy". But for everyone else, this
- is the answer you've been looking for.
-
-
- ============================================================================
- =============== COPY IT OVER HERE ! ====================================
- ============================================================================
-
-
- Usage: CH [filename] [/option] [drive]
-
-
-
- OPTIONS:
-
- /USE Use menu to choose file. Normally, Copy It Over Here
- operates on the command line. This causes it to collect
- all the files it can find, then form a menu with them.
- You may choose a file from the menu by highlighting it,
- then pressing [ENTER].
- The file will be copied "over here!".
-
- NOTE: If the directory name is over 45 characters long,
- the MENU will abort itself, since everything cannot
- be displayed within it. The menu has a maximum width
- of 78 characters, and directories that extend 45
- chars will NOT fit. Therefore, an "... Aborted"
- message appears and Copy It Over Here exits with
- an error.
-
- /V Verify copy and write file using single-byte method. If
- you want to be EXTREMELY safe (or you are a paranoid
- schizophrenic), this method copies the file by reading
- the input in single bytes, then writes the read-byte.
- Although a little slower, it does not use an internal
- memory buffer for read/writes.
-
- /R Always overwrite files that already exist in target. If
- CH finds a file that has the same name as
- an already existing file, it usually prompts you to
- "Rename file here?". This overrides that, and causes
- CH to always replace the existing file with the incoming
- one. BE CAREFUL WHEN USING THIS! Especially if you specify
- wildcards. You can quickly ruin a good file.
-
- /-R Skip files that already exist in target. If CH finds a file
- that has the same name as an already existing file, it
- usually prompts you to "Rename file here?".
- This overrides that, and causes CH to NEVER copy over
- an already existing file.
-
- /T Find only today's files. Locates only those files that
- have been altered today. This would be good for locating
- files that need to be backup up.
-
- /+ Append incoming file (if same name). If CH finds a file
- that has the same name as an already existing file, it
- usually prompts you to "Rename file here?".
- This overrides that, and causes CH to append an incoming
- file onto the already existing file.
- The /+ option is useful for appending text files together,
- and can be used with the /MENU or /P option to be selective
- about which files are to be appended.
-
- /H Copy Hidden/System files. Normally, CH copies only regular
- files (those without the SYSTEM, READ ONLY, and HIDDEN bit
- set). This causes CH to find every file, no matter what
- the attribute.
-
- /A Change Attributes. After the file copy, you will be prompted
- for a new attribute for the file. Consult your DOS manual
- for an explanation of file attributes.
-
- /P Prompt for copying. Prompts for each file it finds.
-
- /M Move file. Copies, then erases old.
-
- /1 Stop after first match. Stops the search once a single file
- has been copied.
-
- /S# Stop after # of matches. Stops the search once # files
- have been copied.
- Usage: CH file.com /S3 stops after three files
- CH file.com /S7 stops after seven files
-
- [drive] Specifies a logical disk drive to search
-
-
-
-
-
-
-
- Examples:
-
- CH myfile.doc /M A: moves the file "myfile.doc" from the a: drive
- onto the current disk drive.
-
- CH *.sys /H copies the all .SYS files Into the current
- directory.
-
- CH ch.doc B: copies the .doc file from the B: drive, onto
- the current drive/directory.
-
- CH list.com /USE creates a menu from all LIST.COM files on
- the drive, then allows you to pick one
- for copying.
- NOTE: If a directory is longer than 45
- characters, do not use the menu.
-
- CH list.com /1 copies the first LIST.COM found, then
- stops.
-
- CH list.com /S3 copies the first three LIST.COMs found,
- then stops.
-
- CH *.com /-R copies all .COM files to current directory.
- If a file is found that already exists
- in the current directory, it is skipped.
-
- CH *.com /R copies all .COM files to current directory.
- If a file is found that already exists
- in the current directory, it is replaced
- without prompting.
-
- CH *.* /T copies all files that have been changed
- today.
-
-
-
-
-
-
-
-
-
-
- CHANGING ATTRIBUTES
- ===================
-
- You can change a file attr. once it
- is copied using the following pop-up
- menu:
-
- (1) Hidden For more information about attributes, and
- (2) System their qualities, see your DOS manual.
- (3) Archive
- (4) Read-Only
- (5) Nevermind!
-
- ENTER CHOICE:
-
-
-
-
-
-
-
-
- ╒══════════════════════════════════════════╕
- ═══╡ ╞═══
- ═╡ WILDCARDS ╞═
- ═══╡ ╞═══
- ╘══════════════════════════════════════════╛
-
- Copy It Over Here searches for the usual DOS wildcards.
- You must have a "." within your filename, otherwise,
- CH does not recognize it as a file.
-
- Previous versions of CH have used "string matching" in
- the filenames, however this one can return to normal.
-
- I had problems with string allocation in my previous code,
- that forced me to scan EVERY FILE in every directory
- (took forever!), then match strings to see if the
- string you placed on the command line existed within
- the filename.
-
- I fixed that problem, and wilcards are back to normal.
- Valid DOS wilcards are:
-
- "*" and "?" IE: FILE.* would find FILE.COM
- FILE.EXT
- FILE.DOC ...etc
-
- FILE?.com would find FILE7.COM
- FILE0.COM ...etc
-
- *.* would find all files
-
- Consult your DOS manual for a further explanation of
- wildcard file specifications.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OTHER USES OF THIS PROGRAM
- ==========================
-
- CopyItOverHere can be used also as a file-finder. Merely use the
- "prompt" option, and answer "N" to all the copying prompts.
-
- If you'd also like to find duplicate files on your diskette, use
- the prompt option, and note the date/time/size information that
- is displayed.
-
-
-
-
-
-
-
-
-
-
- ERROR CHECKING
- """"""""""""""""""""
-
- Copy It Over Here checks to see if the file already exists in the
- current directory. If so, you are prompted to rename the file in the
- current directory before copying a file over. This can be altered
- with the /R or /-R switches.
-
- Copy It Over Here also checks to see if the filename you specified
- has a "." within it. NOTE: If your file does NOT have an extension,
- place an extra "." on the end.
-
- If the destination file has a size of 0 bytes, CH says:
- "WARNING: File not copied/moved" and will abort a MOVE operation.
-
- If the destination and source file are not the same size
- (most likely, all the bytes were not copied), CH says:
- "WARNING: Files not identical after copy/move" and will abort a MOVE
- operation.
-
- Copy It Over Here will scan the current directory.
- Instead, it skips it.
-
- If you have many files with the same name on your drive, use
- the /P or /USE option.
-
- Also, Copy It Over Here uses an internal memory buffer to obtain
- as many bytes as possible from the input file, then write them to
- the output file. For those of you who are curious, here is the
- C code:
-
- for(bufsiz=0x4000;bufsiz>=128;bufsiz>>=1)
- { buffer=(char *) malloc(bufsiz);
- if (buffer)
- { while (1)
- { n=read(fdfrom,buffer,bufsiz);
- if(n==-1) break;
- if(n==0)
- { free(buffer);
- close(TO);
- close(FROM);
- return; }
- if(n!=write(fdto,buffer,(unsigned)n)) break;
- } free(buffer); break;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
- ▐ ▌
- ▐ Why is this a revolution in copying? ▌
- ▐ ▌
- ▐ Every copy utility I have used or purchased do the same thing. Add on ▌
- ▐ a mouse feature maybe, a system file copying, or specialized diskette ▌
- ▐ copying... ▌
- ▐ I didn't need those, and you probably don't either. I need something ▌
- ▐ for my tired hands and eyes, something that relieves all the unnecessary ▌
- ▐ junk given to me by MS-DOS. ▌
- ▐ Yea, DOS makes a nice little TSR copy, but I knew there was a better ▌
- ▐ and easier way. ▌
- ▐ ▌
- ▐ "But Dave", you say, "All you did was take off the pathname from DOS's ▌
- ▐ copy function". ▌
- ▐ ▌
- ▐ WRONG !! Not only did I relieve you of the pathname, now, you don't even ▌
- ▐ have to know where the heck you ARE on your disk. ▌
- ▐ ▌
- ▐ ALSO: When using DOS's "copy", you can mess up the spelling of your ▌
- ▐ directory and copy your file into some weird-named file. Then, ▌
- ▐ you lose your data. ▌
- ▐ Say you copy a couple of files: copy "c:\dos\backup\*.* \week1\moden" ▌
- ▐ ▌
- ▐ You see how I misspelled "MODEM" and made "MODEN"? Most people ▌
- ▐ would've missed the mistake and all the files from your backup ▌
- ▐ directory would be jumbled and lost. ▌
- ▐ ESPECIALLY IF YOU ERASED THE ORIGINAL FILES !!! ▌
- ▐ ▌
- ▐ My program doesn't make that mistake. ▌
- ▐ ▌
- ▐ Yes, this is the true revolution of copying ... ▌
- ▐ ▌
- ▐███████████████████████████████████████████████████████████████████████████▌
-
-
-
-
-
-
-
-
-
-
-
-
- This program is shareware, which means you "try" before you "buy".
- The registration fee for it is $10.00, an amount I consider to be more
- than fair.
- If you find yourself using this program, enjoying the convenience
- of it, then it's time to register !
-
- WHY SHOULD YOU REGISTER ?
-
- You get free upgrades, a constant supply of new program information
- (if I make it, you'll know about it), and for only $10.00 more, I will
- fill up a diskette with any programs you like, and want to try out.
-
- Also, a lifetime warranty for my products.
-
-
- To register: mail $10.00 to
-
- Dave Smith
- 1104 Mason Dr.
- Hurst TX 76053
-
-
-
- *** or see CATALOG.COM for a complete set of utils *******
-
-
-
-
-
- WITH REGISTRATION, YOU GET:
-
- 1. Unlimited free upgrades.
- 2. Special discounts on other utilities.
- 3. Unlimited FREE technical support by mail, or COMPUSERVE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version History:
-
- 2/91 1.0 First release containing .pcx files, ansi graphics,
- and two variations of "Bring"
-
- 4/91 1.5 As requested, I removed some sounds, replaced memory
- allocation code with a superior method, and placed
- a "prompt" for copying file.
-
- 5/91 1.7 Merged "MoveItOverHere" by including move option, added
- prompt and hidden/system options.
- Removed the bright colors that so many people had written
- about, incorporated stats (files/directories/match--
- searched), and added wildcard specs.
-
- 7/91 1.81 Allows attribute changing on the fly.
-
- 9/91 1.9 Improved the speed and fixed a few minor bugs.
- Also includes checking for pre-existing files,
- attributes and prompting to rename duplicate files.
-
- 12/92 1.91 Had errors in my damn code. Fixed some minor
- stuff (screen decoration, etc)
-
- 3/93 2.0 Delivered all the promised "good stuff" and added
- a shitload of options. Serious error checking
- was added. Also eliminated the call to DOS for
- copying, and instead used a 4096 byte buffer to
- move the bytes from one file to the next.
-
- ALSO: Much faster! Looks through 139 directories
- in under 4 seconds on my 386-40.
-
-
-
-
-
- ────────────────────────────────────────────────────────────────────────
-
- Other than that, COPY IT OVER HERE ! is a simple program. Designed
- for lazy people like myself, I hope it comes in handy for all your
- file needs.
-
-
- Questions, comments ?
- write me: Dave Smith
- Compuserve 71441,2723
-
-
-
-
- from the mind of
- ┌────────────┐
- │ │┐
- │ DAVE SMITH ││┐
- │ │││
- │ │││┐
- └──┬─────────┘│││
- └─┬────────┘││┐
- └──┬──────┘││
- └─┬─────┘│┐
- └─┬────┘│┐
- └──┬──┘│┐
- └─┬─┘│
- └─┬┘┐
- └─┘
- *
- █
- ████
- ██████████████████████████████████████████████████████████
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ███████╗ ██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ████████╗ ██████╗
- ██╔════╝ ██║ ██║ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██╔══██╗ ╚══██╔══╝ ╚════██╗
- ╓──███████╗ ██║ ██║ ██████╔╝ ██████╔╝ ██║ ██║ ██████╔╝ ██║ ▄███╔╨─╖
- ║ ╚════██║ ██║ ██║ ██╔═══╝ ██╔═══╝ ██║ ██║ ██╔══██╗ ██║ ▀▀══╝ ║
- ║ ███████║ ╚██████╔╝ ██║ ██║ ╚██████╔╝ ██║ ██║ ██║ ██╗ ║
- ║ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ║
- ║ ║
- ║ ║
- ║ Support for this program is available in the following ways: ║
- ║ ║
- ║ ║
- ║ ╓──┐ ╓──┐ ╓─╥─┐ ╥──┐ ╥ ┬ ╓─┐ ╥──┐ ╥──┐ ╥ ┬ ╥──┐ ║
- ║ ║ ║ │ ║ ║ │ ╟──┘ ║ │ ╙─┐ ╟─ ╟─┬┘ ╙╖┌┘ ╟─ ║
- ║ ╙──┘ ╙──┘ ╨ ╨ ┴ ╨ ╙──┘ ╙──┘ ╨──┘ ╨ ┴ ╙┘ ╨──┘ ║
- ║ User ID: 71441,2723 ║
- ║ I usually log on every other day and check my mail. ║
- ║ ║
- ║ ║
- ║ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ║
- ║ █ ▄▄ █▄ █ ▄▄ █▄ █ ▄▄▄▄█ ║
- ║ █ ▄▄▄ █ █ ▄▄▄ █ █▄▄▄▄ █ ║
- ║ █▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ ║
- ║ Drop me a line on the MotherBoard II Bulletin Board ║
- ║ David Smith (214) 642-1287 ║
- ║ ║
- ║ ║
- ║ ▄██▄ ▄██▄ ▄███████▄ ▄█▄ ▄██▄ ║
- ║ █████▄█████ ████▀▀▀████ █████ ████ ║
- ║ ███████████ ████▄▄▄████ █████ ████ ║
- ║ ████ ████ ███████████ █████ ████ ║
- ║ ████ ████ ████ ████ █████ ████▄▄▄▄▄▄▄ ║
- ║ ▀██▀ ▀██▀ ▀██▀ ▀██▀ ▀█▀ ▀████████▀ ║
- ║ Write to: ║
- ║ ║
- ║ David Smith ║
- ║ 1104 Mason Dr. ║
- ║ Hurst TX 76053 ║
- ║ ║
- ╙─────────────────────────────────────────────────────────────────────────────╜
-
-
-
-
-
-