Pathname – definition

A pathname is the device and directory names needed to locate a particular file in a file system. If the file is located on the hard disk of your computer (i.e. the device, named C:) inside a folder (i.e. a directory) named Quiz and the name of the file is results.txt, then the pathname is:

C:\Quiz\results.txt

 

Close