- 1 year ago
How to reference a file when the path contain a shortcut
Comment
1 / 1
To reference a file when the path contains a shortcut in Windows, you can use the following steps:
- Open File Explorer and navigate to the location of the shortcut.
- Right-click on the shortcut file and select "Properties" from the context menu.
- In the Properties window, go to the "Shortcut" tab.
- Look for the "Target" field, which contains the actual path to the target file or folder.
- Copy the path from the "Target" field.
Now, you can use the copied path to reference the file in your code or any other application.