Use the file manager of Windows, to copy an absolute path to the desired folder - is immeasurably reduces the chance to make a mistake, compared to manual dialing.Explorer is started by pressing the key combination WIN + E or double-click on the icon "My Computer" on the desktop.It opened in the appropriate folder, select and copy to the clipboard (CTRL + C) contained in the address bar the full path to that directory.Then you can use the contents of the clipboard at your convenience.
Use the built-in function dirname language PHP, to get the full path to the directory on the Web server.The simplest version of its use can be written as:
& lt;? Php echo dirname (__ FILE__
);? & gt;
PHP-script with such content should be placed in the directory path to which you are interested.After entering into your browser http-address of the script, and then pressing Enter, you run it as a script in a blank page displays the full path to the directory.Hence, it can be copied and then used for other purposes.
Start the full path to the directory to a drive letter if it is necessary to dial manually.After the letter a colon, and then the need to scroll through a backslash (in the case for Windows), all folders in the path to the desired directory, starting from the root.For example:
C: \ Program Files \ Avira \ keys \
Change the drive letter for a double backslash, if the desired directory is one of the resources that are connected over a LAN.For example:
\\ OtherComp \ SharedDocs \
Use forward slash instead of the reverse in the path to the folder Unix-based systems.For example:
/ home / someFolder /
Use shorthand way to folders, if you need to specify its position relative to another folder (relative path).Relative path considers the root folder in which the document is referring to the correct folder name.For example, if a Web page is located in the home, and it is necessary to set the path to images, embedded in the home, then the relative path is sufficient to specify images /.