Reference
A directory employs a tree structure shown below.
Current directory
\
The “current directory” refers to the respective directory in which operations
are currently being performed.
Root directory
USR
ETC
Reference
USR1
“.” symbol
Indicates the current directory when
specifying the relative path.
USR2
MYFILE.txt
HERFILE.txt
Sub-directory
OURFILE.html YOURFILE.html
File
Reference
“..” symbol
Indicates one directory above the starting directory when specifying the relative path.
The two ways to specify the location of files based on these file management methods are summarized below.
●Current directory is “USR”
Specifying
method
Description
Specify relative
path
Specify the location of the target file from
the perspective of the current directory.
..\ETC\MYFILE.txt
Specify
absolute path
Specify all directory names and file
names in hierarchical order from the root
directory to the target file.
\ETC\MYFILE.txt
Reference
Directory notation method
The notation method for directories depends on the OS. Sometimes, a slash
(“/”) or backslash (“\”) may be used.
2
Reference
File management
The following operations are also effective for file management.
• File optimization (defragmentation)
• File organization (deletion of unnecessary files)
Specify MYFILE.txt
File sharing
When building a network, it is possible to enable file sharing so that multiple users can share and use files on computers that are part of the network.
For example, in a corporation, it possible to save files such as business negotiation records and client information to a computer that is equipped
with a large-capacity hard disk, and share them so that all employees concerned can access this information.
When sharing directories and files on a network, it is necessary to set “access rights” to restrict the read and write activity for each user.
File 1
Write
Write
Group
Write
Read
File
1
User A
File 1
Write
Read
215
Write
Read
Write
Read
File 1
File 2
Write
Read
Read
File
Read
2
User B
Write
Read