Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Can "Copy as path" be enabled permanently without Shift

25 Nov 2009   #11

Windows 7 32 bit
Hotkey Copy As Path

Also you can use this AutoHotKey script

; <COMPILER: v1.0.47.6>
#SingleInstance Ignore
SendMode Input
SetWorkingDir %A_ScriptDir%

Menu Tray,NoStandard
Menu Tray,Add,Donate,DoDonate
Menu Tray,Add
Menu Tray,Add,Quit,DoQuit
Menu Tray,Tip,Copy As Path

Result := _EmptyWorkingSet()

#IfWinActive,ahk_class CabinetWClass
#IfWinActive,ahk_class ExploreWClass

clipboard = ; clear clipboard
Send ^c
ClipWait, 2
clipboard = %clipboard%



  Return DllCall("psapi.dll\EmptyWorkingSet", "UInt", -1)
Select files/folders in explorer and press the middle mouse button. Then you can paste the list into an editor or whatever. As it is now, it doesn't wrap paths with a space with double quotes. You only need that for command line params anyway. If you want that just add a couple of lines of AutoHotKey. Me, I hate they way AHK handles strings(not double quotes as in most other programming languages,) so I do as little as possible to get stuff to work. AHK can do a lot with a few lines when it comes to a hotkey for the tray though. You can't beat it for small do it yourself little gizmos like this.

(The DoCE is just named that because I pasted it out of my HalfShell script which opens selected folders in a 32 bit shell on 64 bit systems. You can change it to something else if you like.)

My System SpecsSystem Spec
10 Sep 2010   #12

Windows 7 Ultimate x64

I downloaded and installed the solution nuspieds found (see last message). Compared to Shift-RightClick by Microsoft it has the advantage, that the pathname does not get hyphenated in the clipboard.

This seems a lot more practical because typing opening hyphen - paste - typing closing hyphen is a lot more practical than paste - position cursor at opening hyphen - remove - position cursor at closing hyphen - remove.

And in many situations you don' need any hyphens at all or want to use 'C:\bla.txt', <C:\bla.txt>...
My System SpecsSystem Spec
02 Sep 2011   #13

Windows 7 Enterprise x64
Multiple Items Copying

Guys, is there a way to copy path of multiple selected files/folders?
My System SpecsSystem Spec

03 Sep 2011   #14

Windows 7 Ultimate x64

Shift Right-Click will copy for multiple selected files/folders.
My System SpecsSystem Spec
21 Nov 2011   #15

Windows 7 Ultimate x86

Quote   Quote: Originally Posted by nuspieds View Post
Thanks, R A.

I found an answer from another site and I was referred ot the following site for the solution:

Copy File Path and Name using Windows Explorer Context Menu Extensions

So I used that and it worked for me.

The ability to copy path multiple-selected files is cool, but it's something that I have yet to use. For me, pressing shift+right-click to get that functionality if ever needed it would be perfectly fine.
I'm sorry, I don't think that stuff can deal with copying multiple-selected files. Because, for instance, if you select 3 files and right click the program shortcut, that program will run 3 times, the paths of the 3 files cannot be merged.

I wrote a VB6 bas and solved the problem. It really can be for multiple-selected files or folders.


Sub Main()
Dim Paths As String
Dim Start As Single

If App.PrevInstance Then Paths = Clipboard.GetText & vbCrLf 'if previous instance running
Clipboard.SetText Paths & Mid(Command, 2, Len(Command) - 2) 'function Mid is for removing quotations

Start = Timer
Do While Timer < Start + 1 'keep this instance for about one second
DoEvents '
End Sub
Registy's modification will be like as follows


Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\Shell\Copy File Path\Command]
@="\"C:\\Program Files\\CopyAsPath\\CopyAsPath.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Folder\Shell\Copy Folder Path\Command]
@="\"C:\\Program Files\\CopyAsPath\\CopyAsPath.exe\" \"%1\""
I compiled vb and uploaded it.

I'm sorry again for my English, you know, I'm not an English speaking person.

Attached Files
File Type: rar CopyAsPath.rar (3.0 KB, 60 views)
My System SpecsSystem Spec
13 Nov 2013   #16

Windows 7 Ultimate 64bit

So, in answer to the poster's question, there doesn't seem to be a way of un-extending the behaviour of CopyAsPAth. VERY strange.
My System SpecsSystem Spec

 Can "Copy as path" be enabled permanently without Shift

Thread Tools

Similar help and support threads
Thread Forum
Open a new window with "full path" instead of Search Results\"Path"
How can I make it such that in Search Results, when I open a folder in a new window (by right-clicking a file), I will be directed to a window with the "full path" displayed in the address bar, instead of Search Results\"Path" or Search Results>"Path"? Edit: "Right-click -> open file location"...
General Discussion
Enabled "Hardware Acceleration" causes "green screen"
Hey guys. Can you pleas explain me what does Hardware Acceleration means and why is that when it is turned on, it causes a green screen on the video (with audio working). It happened to me once in YouTube, where I had to go in to settings and unpick the "Enable Hardware Acceleration", then it...
Graphic Cards
Looking for "Copy Path" sw that works under Win7
Please help.
General Discussion
How to add "Copy path" and "Copy name" to context menu?
Hello! Do you know how to add "Copy path" and "copy name" to context menu? Like this screen shot!:p
General Discussion
Get back to "Classic" or copy/paste file path
I need alot of times to copy & past the path.. So I got W7 to show the full path under the tools file options.. But it states ther it will only work in classic mode. I can't find how to get back to classic mode, or if there is another way to copy/paste a file path, I'm all ears.

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:02.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App