Advice 1: How to find out the absolute path to the file

If you often have to deal with all kinds of scripts, sooner or later there will be the task of specifying the address of the file you want to transfer the program. Most often this is done using the absolute address. "Absolute" or "full" path to the file called string variable that contains an enumeration of all nested into other folders on the path from the root directory to that file.
Instruction
1
If you want to know the absolute path to the filestored in the computer running Windows, then it can be done using the file Manager of this system Guide. Open it by double-clicking on the icon "My computer" on the desktop or selecting the same item from the main menu "start". There is another way - use the key combination Win and E.
2
The folder tree in the left frame of the Explorer, navigate to the directory that contains the file you want. Highlight and copy (Ctrl + C) the contents of the address bar of a file Manager - this is the full path to the folder that holds the file. If you are using a version of Windows 7, the address bar Explorer will contain the path to the file in a form suitable for use, but not appropriate to the standard. To bring it to the standard view click the left mouse button anywhere on the free labels from space of the address bar - this will be enough for the app displayed the path as needed and identified and you will just have to copy selected.
3
Paste the copied path in any page that is open in any text editor. It will indicate the complete address of the folder, but not the file append the file name, including extension, to separate it from the inserted row back slash (). Not to be mistaken, the name of the file can also be copied in Windows Explorer. To do this, click it once with the mouse, press the function key f2, then ctrl + c and exit the edit name by pressing the Esc key.
4
In Unix systems to separate the folders when specifying a file instead of a backward slash () use ordinary (/). Most often, the need to know the full path to the file on computers that are running Unix arises to use this file server-side scripts used in Internet programming. In such cases, you can use the functionality of the programming language. For example, in PHP the full path to the executable file contains environment variable called script_filename ($_SERVER['SCRIPT_FILENAME']).

Advice 2: How to determine the path to the file

To run programs much easier by using shortcuts. It denies the need to open the hard drive, then a folder and then run the program. The same situation with folders. It is easier to create a shortcut to it and open a second double click of the mouse. But sometimes you need to know the path to the file, which is attached to this label. For example, if you move the original folder to another location.
You will need
  • - Computer with Windows.
Instruction
1
To determine the path to the file, click on the icon for which you want to install it, right-click. After that, there is a context menu, it is necessary to select the command "Properties". Next, a window will appear in which click on the tab "Shortcut".
2
In the ensuing window there are several options. The parameter "working directory" specifies the folder name where the file is referenced by the label, and the "Object" parameter is the full path to it. First in line "Object" indicates the hard disk partition, and then directly to the folder in which it lies. The bottom window is the option "file Location". If you click on it with the left mouse button will open a window with the folder where the file is stored.
3
For example, if you need to find a way to file a certain process that is running in the operating system, then it can be done. Click on the keyboard Ctrl-Alt-Del, and then on the computer screen window will appear. In this window, and select "task Manager". Either press Ctrl-ShIft-Esc and it will launch immediately.
4
Appeared in task Manager go to the Processes tab. Select the process for which you want to know the path to the file, clicking the right button of the mouse. After that a new window will appear with information about the object. In the line "Type" is, therefore, the information about its type, and just below the line "Location". It and use a full path to the file. Also if you click on the tab "Details", you can find more information about it, such as its original name, copyright, etc. If you want you can learn about digital signatures of the object, simply go to the tab called "Digital signatures".
Search
Is the advice useful?