Posts

Showing posts from July, 2012

Copy Full Path of a File (Trick)

Image
Let's say , you need to copy the full location of a file to use somewhere else. Traditionally, you will open the file in Windows Explorer and then copy the path in the address bar and manually append file name to the end. Say you have a file(abc.txt) at E:\All\Training Material. When you copy path, you will first append file name at the end and then add double quotes("") since we have a space in folder name. To save time, you can use a trick in Windows Explorer. Trick: Just hold "SHIFT" key  when you right-click a file and select option "Copy As Path". CopyAsPath You will get the string as : "E:\All\Training Material\abc.txt". And you are ready to go using this. Tested on: Windows 7.