home *** CD-ROM | disk | FTP | other *** search
-
- OH YEAH! RAMINIT - RAMDISK INITIALISER v1.0
- ---------------------------------------------
-
-
- Introduction ("What Is It?")
- ----------------------------
-
- RAMINIT is a short program that provides some of the file handling commands
- that a command shell might have. It reads commands from a script file when it
- is run. I wrote it to copy programs into a ramdisk on bootup, although it could
- be used for all sort of things.
-
-
- Details ("How Do I Use It?")
- ----------------------------
-
- When run, RAMINIT looks for the file \auto\raminit.dat on the current
- drive. If you have a command shell, you can run it as "RAMINIT <file>" for a
- different script file, otherwise just put raminit.prg, and your own raminit.dat
- file into your auto folder.
- RAMINIT then reads commands from this file, one per line. It recognises:
- /<text> comment
- quiet no more output except for errors
- mkdir <dirname> create directory
- copy <files> <files> copy file(s)
- delete <files> delete file(s)
- lock <files> sets read only bit for file(s)
- hide <files> " hidden " " "
- system <files> " system " " "
- unlock <files> \
- unhide <files> } (obvious!)
- unsystem <files> /
-
- Unless 'quiet' is specified, RAMINIT tells you what it's doing, like:
-
- Creating directory M:\FILES
- Copying A:\PROGRAM.PRG to M:\FILES\PROGRAM.PRG
-
- and so on. RAMINIT recognises all the common errors, so if you've made a
- mistake in the script file, or called a file by the wrong name, it'll let you
- know (without crashing :).
- All the commands work with wildcards as well as files: copy and delete work
- with directories as well, so
-
- delete dir
-
- will delete all files in the directory 'dir', including subdirectories, before
- deleting the directory itself.
- The copy command is the bit I'm proud of :] It recognises all the possible
- combinations for the filenames, so you can:
-
- copy directory newdirectory
-
- which will create a new directory and copy all the files in the dirst directory
- into it, or
-
- copy wild* directory
-
- and so on. Just try it and see if it works! There is one peculiarity here: if
- the destination file already exists, RAMINIT _won't_ give an error, and _won't_
- copy the file. Remember, it's supposed to be used to copy files to a ramdisk:
- if you have a reset-resident one, you don't want it re-copying files every time
- you do a warm boot. If you want to be sure that a file is copied, delete it
- first.
- The other commands set or unset various file attributes. The lock
- (read-only) bit may be useful: I can't think of a use for the others but I've
- included them a) for completeness, and b) coz they're easy to do!
-
- RAMINIT is not terribly complex, but it's quick and easy to use. I use it
- all the time, and haven't had any problems. It should work with
- ST/STE/TT/Falcon, all TOS versions, and all resolutions (it even looks ok in
- low rez!) but it's been tested only on my STE. If you have problems, let me
- know.
-
-
- Availability ("The Begging Bit")
- --------------------------------
-
- If you like this program, and use it a lot, please send me some dosh! Ok,
- so it's not incredibly complex, but it's taken me a lot of time to get right
- (especially the logic for the copy command), and just think: if it saves you 10
- seconds every time you boot up, how much time has it saved you in a year?? I
- leave it to your conscience how much. I'm only a poor student at the moment,
- and so what's a small amount to you could mean a lot to me :]. Even if you
- can't spare any cash, please let me know if you use this program. I'm open to
- suggestions - if there's a new command you want to see, if you have problems
- with it, or have any other comments, please let me know and I'll see what I can
- do. Even just a postcard would be nice! Please!!!
-
- If you send me some money, I will probably let you have some other programs
- as well, and also any later version of this one (sending a disk would help). I
- can also let you have the source code (written in Ian Lepore's Heat-And-Serve C
- v1.40 - thanx very much Ian! - but should work with any C compiler).
- You can contact me:
-
- by Email (up to end of June 1993): A.R.Giddings @ uk.ac.durham
-
- or by snail mail: Andrew Giddings
- 71 Tyrone Road
- Thorpe Bay
- Essex SS1 3HD
- England
-
- Please give this program to your friends, BBS etc. - someone somewhere must
- be able to find a use for it!! Just don't change it or charge for it, and
- please include this text file.
- Watch out for other Oh Yeah! utilities - the Oh Yeah! DVORAK KEYBOARD
- accessory is already available, coming soon is the Oh Yeah! TEXT FILE VIEWER.
-
-
- Disclaimer ("It's Not My Fault")
- --------------------------------
-
- I've had no problems at all with RAMINIT, but I'm afraid that in the
- (unlikely) event that you do, I am not responsible. For example, if you happen
- to spontaneously combust whilst using RAMINIT, don't come complaining to me :]
-
-
- Ooo Hh h Y Yy Eeeeee A Hh h !
- O o Hh h Y Yy Ee Aaa Hh h !!!
- Oo oo Hh h Y Yy Ee Aa a Hh h !!!
- Oo oo Hh h YYy Ee Aa a Hh h !!!
- Oo oo Hhhhhh Yy Eeeee Aaaaaaaaa Hhhhhhh !
- Oo oo Hh h Yy Ee Aa a Hh h !
- Oo oo Hh h Yy Ee Aa a Hh h !
- O o Hh h Yy Ee Aa a Hh h
- Ooo Hh h Yy Eeeeee Aa a Hh h !
-
-
- #include <quote>
-
- "It's not what you've got, it's how fast it's ready for action!"
-
-
- (c) Andrew Giddings MXMIII
-
- 18/5/93
-