Epson Equity LT User Manual - Page 81

Using pathnames

Page 81 highlights

Type DIR and press Enter to show that you are now in the LETTERS subdirectory. You should see the following: LETTER1 Now you can use the LETTER1 file. For example, to display the contents of the file on the screen, type the following and press Enter: TYPE LETTER1 You should see the following: This is the first letter. Now type CD\ and press Enter to return to the root directory. Using pathnames You can also use the LETTER1 file without leaving the root directory. All you have to do is specify the pathname along with the filename. For example, type the following and press Enter: TYPE \ LETTERS \ LETTER1 The pathname \ LETTERS \ LETTER1 is the full pathname for the file LETTER1. You can use it no matter what directory you are in (as long as it is on the same disk). The first backslash (for root directory) signifies that the path to the file starts in the root directory, and LETTERS is the name of the subdirectory. In a pathname, the filename is always last and is always preceded by a backslash. A backslash at the beginning of a pathname signifies the root directory, but subsequent backslashes merely separate directory levels. Putting files in separate subdirectories is almost the same as putting them on separate disks. You have to specify the pathname or change directories to access files in different Using MS-DOS With the Equity LT 4-17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151

Type DIR and press
Enter
to show that you are now in the
LETTERS subdirectory. You should see the following:
<DIR>
LETTER1
<DIR>
Now you can use the LETTER1 file. For example, to
display the contents of the file on the screen, type the
following and press
Enter:
TYPE LETTER1
You should see the following:
This is the first letter.
Now type CD\ and press
Enter
to return to the root
directory.
Using pathnames
You can also use the LETTER1 file without leaving the
root directory. All you have to do is specify the pathname
along with the filename. For example, type the following and
press
Enter:
TYPE \ LETTERS \ LETTER1
The pathname \ LETTERS \ LETTER1 is the full pathname
for the file LETTER1. You can use it no matter what directory
you are in (as long as it is on the same disk). The first
backslash (for root directory) signifies that the path to the file
starts in the root directory, and LETTERS is the name of the
subdirectory.
In a pathname, the filename is always last and is always
preceded by a backslash. A backslash at the beginning of a
pathname signifies the root directory, but subsequent
backslashes merely separate directory levels.
Putting files in separate subdirectories is almost the same as
putting them on separate disks. You have to specify the
pathname or change directories to access files in different
Using MS-DOS With the Equity LT
4-17