home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
551-575
/
apd575
/
docs
/
dos-shell.doc
next >
Wrap
Text File
|
1992-06-25
|
3KB
|
160 lines
DOS-SHELL
v2.05 (First release!!!)
BY MATT BURKE
-----------------------------------------------------------------------------
To be distributed on United Graphic Artists disks ONLY!
-----------------------------------------------------------------------------
What it does
------------
This program should make life easier for anyone who uses the CLI, instead
of storing all the CLI commands on disk they are storred in one simple
program but if DOS-SHELL does not include the command/program you want it
will try to load it from disk.
At the end of the file is a description of how to make a startup-file.
If you have any comments,ideas, or bug reports, send them to me at this
address ...
33 Brookhouse Hill
Fulwood
Sheffield
S10 3TB
ENGLAND
Typing `help' at the $ prompt in the main program will bring up a list of
commands, if they not listed here, then they don't work properly ...
copy,if,endif,echo,dir
----------------------
Does the same as the AmigaDOS versions.
rm
--
Same as AmigaDOS delete.
mv
--
Same as AmigaDOS rename/move.
alias
-----
Say you have seka on the disk in df0: you could type ...
alias sk "df0:seka"
and then when you next wanted to load seka you could just type `sk' to load
it.
set
---
Set can be used to set the function keys, prompt, and drive search path
like this.
set F1 "dir df0"
sets up a function key to get a directory of df0:
set _prompt "DOS-SHELL 1.0 > "
changes the prompt form a $ sign to DOS SHELL 1.0 >
set _path df1:,df1:c,df0:libs
sets the default serach path to look in df1: df1:c and df0:libs.
cd
--
change the current directory, like this...
cd df1:c
changes directory to df1:c
devinfo
-------
prints the amount of space on a drive, type devinfo <drive>.
pwd
---
present working directory- shows the current directory.
mem
---
prints the amount of free memory.
history
-------
prints the last 10 typed in commands.
mkdir
-----
makes a new directory.
Run
---
starts a new CLI process and runs a the program eg. RUN SEKA.
cat
---
types a text file eg. cat SCROLLY.s (same as AmigaDOS TYPE command).
ps
--
Lists running tasks
date
----
prints the system date
---------------------------------------------------------------------------
Creating a script file ...
--------------------------
If you want to define the function keys etc. so that they remain the same
everytime you use DOS SHELL. Get your favourite text editor and make a
file called `.login'. It should look something like this ...
# a hash sign denotes a comment
# first we set the f-keys
set F1 "whatever you want f1 to do!"
# do this for all the fkeys you want.
# no we set the prompt
set _prompt "1> "
# then we set the aliases for example
set * "dir df0"
# produces a directory of df0: every time you type `*'.
ver
*END OF FILE*
next time you start the shell type DOS-SHELL <.login
Signed,
Matt Burke.