home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
MENUCOPY
/
MENUCOPY.DOC
< prev
Wrap
Text File
|
1993-12-01
|
8KB
|
251 lines
╔══════════════════════════════════════╗
║ ║
║ ║══╗
║ MENUCOPY ║ ║
║ ║ ║
║ Copying, Moving, Deleting and ║ ║
║ Directory Maintenance Program ║ ║
║ ║ ║
║ ║ ║
╚═╦════════════════╦═══════════════════╝ ║
║ ║ ║
╚════════════════║══════════════════════╝
║
╔═══════════════╩═════════════╗
║ ║
║ from the mind of DAVE SMITH ║
║ ║
╚═════════════════════════════╝
What is MENU-COPY? It's a rather large copying and directory
utility (yes, another copying utility) that allows you an easy interface
for copying, moving, compressing, etc...
Instead of typing long pathnames and attempted to figure what's
where, just pull up a menu or two and see for yourself.
BEFORE YOU DO ANYTHING: Get an executable file compressor (PKLITE or
DIET) and shrink the .EXE file. Right now
it's 90541 bytes, but once shrunken, comes out
to: 26676 bytes.
Why the big difference? As you can see from the source code included
here, my arrays for your files is enormous (200x200) for files, and
more for directories, names, etc... If you know programming, you'll
realize arrays take up a LOT of space.
Why should I use MENUCOPY instead of my DOS copy command?
It's more fun to flicker back and forth through directories, see files
listed alphabetically, then wander aimlessly in your files and hear cute
sounds when you press buttons. Change drives, erase directories, rename
them, or compress entire directories at a touch of a button.
Other than that, there's really no reason.
┌──────────────────────┐
│WHILE INSIDE MENUCOPY:│
└──────────────────────┘
ESC exits the program at any time. Sometimes though, you might
get stuck with the current screen color. If so, use the
"prompt" statement to set your color back the way you like.
If unsure of how to utilize DOS's "prompt", see your DOS
reference manual.
"\" toggles the Directory and File menus.
PageUP during the File menu goes directly to the first file in the
current directory.
PageDOWN during the File menu goes directly to the LAST file in the
current directory.
F1 shows the "Help" screen.
F2 shows the "File Options Menu"
F3 shows the "Directory Options Menu"
<Enter> In the Directory menu: changes to that directory and shows
all files alphabetically.
In the File menu: pulls up the "File Options Menu".
Number Keys: moves to different disk drives (1=A: 2=B: 3=C:, etc...)
up to drive G:
FILE Allows you to copy, move, delete a file, or quit the entire
OPTIONS program. To get out of the menu, press ESC.
MENU To choose an option, press the number, then answer the
prompt below.
The "VIEW" option assumes you have Van Buerg's program
"List.com". His is obviously the best, and I can think
of no listing program that even ranks half as good !!
Note: When asked "Copy/Move to:" do NOT put a "\" at the
end of your pathname.
DIRECTORY same as file options menu. Note that "Delete" only deletes
OPTIONS current directory, and does not wipe out a directory tree.
MENU Files are deleted normally, so that any UNDELETE utilities
will work fine. Thank god, it's not another file scrambling
utility !
The Compress option shrinks your entire directory using
any of 4 archivers (ARC,PKZIP,LHARC,ZOO), and names it the
directory's name. You are prompted where to put the final
compressed file.
ALSO: This is compatible with any and all versions of the
archivers !
IMPORTANT ! When prompted "Press any key to continue", don't press the
spacebar. This will crash your operating system and
possibly your hard drive ! Any other key is fine.
┌──────────────────────┐
│WHILE OUTSIDE MENUCOPY│
└──────────────────────┘
You can wander around the room, watch television, eat a snack before
coming back to the screen.
If you gotta car, you can drive around maybe.
╔══════════════════════╗
║ Stolen Merchandise ??║
╚══════════════════════╝
Some of MenuCopy has been stolen from other programs.
The "Pop" sound when the File Menu opens and closes I got from other
programs I've seen here and there. I tried to replicate it exactly,
but just got kinda'close to the sound.
Say guys, how DID you make that pop sound ??
The scrolling Directory Menu idea comes from Stereo-Shell. I invented my
own code for it, though.
The "▒" between the files, and the alphabetized file idea came from
Van Buerg's List.com.
The "Searching: " at the beginning of my program is from Glenda Davis'
AT version 5.5. I couldn't replicate her format, but it's kinda close.
And since all those programs I mentioned are written in Assembly, and
mine is in "Turbo C++", I didn't really steal anything !
NOTE: I was just kidding about the spacebar crashing your system when
prompted "Press any key..". But it had you going, didn't it?
**************************************************************************
This program is Shareware, which means you "try before you buy".
If you use this utility and enjoy it, and would like an updated version,
send $5.00 to:
David Smith
1104 Mason Dr.
Hurst TX 76053
**************************************************************************
Known Defects: Like I stated before, the color sometimes becomes blue,
black, etc. if you exit at wrong times. To fix that,
use the DOS "Prompt" statement. I tried my best to
control the color from within the program, but DOS won't
obey me in some instances.
The screen flickers a lot when your directory has more
than 114 files. This is because I must clear the screen
every time I re-display the files in order to avoid over-
lapping names. Also, if you have more than 228 files in
one directory, the program will freak out if you attempt
to display file #229.
I assume you don't have that many files in ONE directory.
If you do, then you need to re-think your file-organizing-
strategy, anyway !
┌───────────────────────────────────────────────────────────────────────┐
│ │
│Special Thanks: To William Cravener who helped me clean up the │
│ DOS function calls. │
│ │
│ To my wife, who got me dinner, colas, breakfast, │
│ and aspirin for the 4 weeks it took to write this │
│ program. │
│ │
│ To my two and a half month old baby girl, who has │
│ colic right now. She cried at least 130 hours during │
│ the time I wrote this. │
│ │
│ To my two martial arts instructors, who threw me down │
│ at least a hundred times. Although it hurts occasionally, │
│ I learned a lot. │
│ │
│ To my three dedicated martial arts students, only one of which shows │
│ up on a regular basis, but oh well, that's life... │
│ │
└───────────────────────────────────────────────────────────────────────┘
Any suggestions concerning what you want from my future programs,
write me a note. Other than that, enjoy this utility and have a lot
of barbeque chips (I love those things) and some Pepsi.
David
Compuserve 71441,2723
┌─────────────┐
│from the mind│
│ of │┐
│ ││┐
│ DAVE SMITH │││
│ │││┐
└───┬─────────┘│││
└─┬────────┘││┐
└──┬──────┘││┐
└─┬─────┘││┐
└─┬────┘││
└─┬───┘│
└┬───┤
┌┤──┬┘
┌│└─┬┘
┌│└─┬┘
┌│└┬─┘
┌│└┬┘
┌│└┬┘
┌└└─┘
└┘ █
* █▒
█ █▒
█ ██ █ ▒ █▒
██ * ██ ▐ ▒█ /*\ █▒█▒ ▐▐
██████████████████████████████████████████████████████████
david smith i.d.f. company fort worth texas 1991