Popular Post 6Foot2 Posted February 1, 2014 Popular Post Posted February 1, 2014 At the Command Prompt type CD then a space then drag a folder to the Command Prompt to have the selected path to the folder auto completed: http://i.snag.gy/GkzCl.jpg 5
dany2010 Posted February 1, 2014 Posted February 1, 2014 Can also go into the folder, hold down shift and right click. You get a open with command prompt option 1
Arthur Posted February 1, 2014 Posted February 1, 2014 (edited) Probably worth mentioning that dragging a file or folder only works as long as the Command Prompt hasn't been elevated. Also useful is ContextConsole and the PowerShell script below which add elevated Command Prompt and PowerShell options to your context menu. With these, you can do what @dany2010 suggested as this is often quicker than dragging and dropping folders onto Command Prompt windows. $menu = 'Open Windows PowerShell' $command = "$PSHOME\powershell.exe -NoExit -NoProfile -Command ""Set-Location '%V'""" 'directory', 'directory\background', 'drive' | ForEach-Object { New-Item -Path "Registry::HKEY_CLASSES_ROOT\$_\shell" -Name runas\command -Force | Set-ItemProperty -Name '(default)' -Value $command -PassThru | Set-ItemProperty -Path {$_.PSParentPath} -Name '(default)' -Value $menu -PassThru | Set-ItemProperty -Name HasLUAShield -Value '' } Source: http://www.powershellmagazine.com/2013/06/25/pstip-how-to-start-an-elevated-powershell-from-windows-explorer/ Edited February 1, 2014 by Arthur 2
Ephelyon Posted February 2, 2014 Posted February 2, 2014 You can also start typing the first few characters of a sub-folder/file name (until it's unique) and then press TAB to auto-complete. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now