Thursday, July 26, 2012

Copy Full Path of a File (Trick)


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.

Thursday, March 15, 2012

Open Command Prompt(cmd) directly from a folder

Instead of opening command prompt and then moving into the required folder using "cd" command , you can use a simple trick available in Windows to do the same thing. 
This requires no third-party software to be installed on your system.

Steps:
  • Move to the folder in which you want to use command prompt
  • Hold "SHIFT" key and right-click in an empty area
  • Select "Open command window here"
  • This will open command prompt with path changed to your current directory rather than "C:\Users\Your User Name".

Screen-shots:



* you can also right-click on any folder icon in the system while holding down the shift key to do the same.


Tested on :  Windows 7 Ultimate

Hope U Like it...

Thnx For Visit