Tandy 1000 MS-DOS Reference Manual page 181

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

r -
l
~
I
r---'
I :
I '
I
[
I '
I
!
\
I .
\
-
i '
i .
Chapter 6 / Command Reference
Now create four batch files, each containing a PROMPT
command, as follows:
copy con promptd.bat
I
ENTER J
rem Thi5 flle change5 the 5Y5tem prompt to
the default (current directory>
[ENTERI
pro mp t % pro mp t d %
I
ENTER J
[ill
I
ENTER
I
copy con prompt1.bat
I
ENTER I
rem Thi5 flle change5 the 5Y5tem prompt to
the current time and date
[ENTERJ
pro mp t % pro mp t 1 %
[ENTER
I
[ill
I
ENTER J
copy con prompt2.bat
[ENTER
I
rem Thi5 file change5 the 5Y5tem prompt to
the current directory
[ENTER
I
prompt %prompt2%
I
ENTER I
[ill
I
ENTER
I
copy con prompt3.bat
I
ENTER
I
rem-Th19 file change5 the 5Y5tem prompt to
the ver5ion number and greater-than 5ymbol
I
ENTER
I
promp~
%prompt3%
I
ENTER I
[ill [
ENTER
I
Now you can quickly change your prompt to any of these four
simply by executing the appropriate batch file. For example,
execute promptd.bat by typing:
pro mp t d
I
ENTER
I
The file replaces the promptd name with the $n$g
string
and
changes the system prompt accordingly.
If you want to use prompts other than those set, you can
either set them or change an existing setting. Remember, the
settings continue to affect these files and other batch files
until you change them or reset or turn off the computer.
• Note to Experienced Users: You can use SET to affect applica-
tion programs, as well as batch files. Refer to the documenta-
tion on "Program Segment Prefixes" in your computer's
Programmer's Reference Manual for more information.
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents