In this post i want to explain about getting the file path or folder path in the console without typing the full path.
While working with console applications sometimes there arises a need of giving the file path or directory path as input.
To type the exact location of file or directory is time taking and may get errors even if a single character is missed or lead to unknown path or directory. 
Many beginners don’t know about the drag and drop feature of console and face many problems while working with console applications .
So instead of typing the full path we can just drag and drop the file or folder on the console to get its path automatically without typing. 

watch the image below.