clechasseur / pathcopycopy Goto Github PK
View Code? Open in Web Editor NEWCopy file paths from Windows explorer's contextual menu
Home Page: https://pathcopycopy.github.io
License: MIT License
Copy file paths from Windows explorer's contextual menu
Home Page: https://pathcopycopy.github.io
License: MIT License
When using paths om the command line, quotes are only necessary when the path contains spaces. I even experienced some programs that choked on paths that didn't need quoting but had.
So, I would like a sub-setting on the Quote paths that say "Only if containing space"
This was bugging me for quite some time, previous build was working fine.
Currently on Microsoft Windows [Version 10.0.17134.345]
nothing happens when you click the EXE and you end up with this:
After fiddling a bit, turning SmartScreen off allows it to run:
You get the old-school warning:
But now it starts:
Not sure if it's related to the wave of buggy patches from Microsoft, e.g. such as I do get my default apps being reset at every boot.
And while Defender reports I'm using Bitdefender Endpoint Security, this setting definitely predates it.
Anyway, that's the fix I found working and wanted to share it with you !
When the software update form appears, choosing "Ignore this update" will fail to save the ignored update and thus, the update will be offered again a week later.
I'm new to your app (plus GitHub) so pls. excuse me if this is not the correct way to ask a "support" question...
Is there a way to remove "separator" (lines) from settings dialog? I can only add new separators in v 15.0, but can find no way to remove them from the commands list. The "Remove" option is disabled for all entries in the Commands list (commands and separators)
It's only a minor annoyance, but... :)
Thnx,
Matej
In Windows, sometimes the quotes are necessary when copying a file name, or path, or UNC path, especially in the command line. Would be nice to have those added as a context menu options, and they could be captioned like: "UNC Path with Quotes", and "Name with Quotes", and "Path with Quotes", etc.
Examples of results when pasting:
"\servername\foldername\subfoldername"
"\servername\foldername\subfoldername\filename.txt"
"filename.txt"
"C:\temp\filename.txt"
"c:\temp"
To developer:
Can you provide a checksum of the download file so that our infosec department can verify the file when users download?
Thank you,
Cesar
I am not able to install the latest (14) version of the software because Symantec antivirus considers it as suspicious. The previous version (13.0.1) is good regarding this.
Use the product all the time as a windows user writing a lot of python. Really like it.
I frequently use unix path and short path, short path is useful when creating command line arguments to execute a .py, but I have to change the \ to / by hand.
Would be good if the unix option had a short unix path, so I could just copy it straight into batch scripts which execute multiple .py's or straight into the command line.
MSYS/MSYS2 paths are similar to WSL and Cygwin paths in that they simply drop the leading /mnt or /cygdrive path component respectively, so, with the appearance of these other helpers in PathCopyCopy, it suddenly was very interesting to consider how easily they might be added to this very helpful tool.
WSL example:
/mnt/c/msys64/home
Cygwin:
/cygdrive/c/msys64/home
MSYS/MSYS2:
/c/msys64/home
Allow user to assign a default command when shift/alt/control right-clicking on a file.
Original issue: https://pathcopycopy.codeplex.com/workitem/11408
When the setting "When user holds down Ctrl key when opening contextual menu, use this command:" is enabled, the chosen command is performed on every right click, regardless of the Ctrl key state. This can lead to data loss due to overwriting the current clipboard contents with the copied path.
Text that should remain in clipboard
to your clipboard.The pasted text is the UNC path to whatever file or folder you clicked on.
The pasted text should be Text that should remain in clipboard
My current workaround is to use a clipboard manager (namely Ditto) to keep my contents from being overwritten.
This happens to me in PathCopyCopy v15.0 - I'm not sure, if this is a regression, though, since I didn't use the feature in earlier versions.
Thanks for having a look! :)
Add an "advanced" mode to custom commands in the Settings application that would give full control over the command's pipeline elements.
Original issue: https://pathcopycopy.codeplex.com/workitem/11389
Add an option to get the path of the actual shortcut (the .lnk file) instead of following the link.
Original issue: https://pathcopycopy.codeplex.com/workitem/11417
is there a way to get the path without the filename ?
BitDefender Total Security 2017 Build 21.023.1101
After adding a separator in the settings it cannot then be removed. Having deallocated the short form names I would like to be able to remove or deallocate most of the existing separators to shorten and tidy up the context menu.
Add an option to get paths recursively somehow.
Original issue: https://pathcopycopy.codeplex.com/workitem/11368
I need the possibility to get a path of a file which contains the full qualified domain name (FQDN).
For example, with Windows power shell I can get it by:
[System.Net.Dns]::GetHostByName("computer01")
"computer01" would be the computer name of the file server where my file is located.
Explanation:
The issue with the current "UNC path" or "internet path" is the following:
Scenario 1:
File is on a server:
subdomain1.domain.com
My computer is in:
subdomain2.domain.com
When I use e.g. "UNC path" of the file I get:
\server.subdomain1.domain.com\directory\filename
--> everything is fine, everyone can open the file from the UNC-link.
Scenario 2 (this is the issue now):
File is on a server:
subdomain1.domain.com
My computer is also in:
subdomain1.domain.com
A colleagues computer is in a different domain:
subdomain2.domain.com
When I use e.g. "UNC path" of the file I get:
\server\directory\filename
because my computer and the server with the file are within the same domain and subdomain, so my computer "thinks" there is no necessity to output the subdomain of the server.
As a result, my colleague with his computer in subdomain2 is not able to open the file (within subdomain1) from the UNC-link I send him, because his computer (within subdomain2) "cannot find the path specified".
In Windows, in the Devices and Printers window, one should be able to right-click a network printer hosted by a print server and copy its UNC path in the same way as with network folders. Sometimes network printer names are complex, and very long and difficult to type, and are not always listed in Active Directory so it would be beneficial to have the option to right-click a network printer on someone else's computer, then paste it into an email, then have them send it over to you so that you can easily add it yourself if you do not have it. Even if the printer name would be easy to type, it would be still be beneficial to have that feature added.
It would be nice to be able to copy the paths of .lnk (shortcut) files, not just the target of what the shortcut points to. Thanks
When escaping URI characters, '+' should be escaped.
Original issue: https://pathcopycopy.codeplex.com/workitem/11424
Add an option to run an external application with the path as argument, instead of sending it to the clipboard.
Original issue: https://pathcopycopy.codeplex.com/workitem/11394
It should be possible to remove separators in the list of commands in the Settings application. This was possible in 13.0; the functionality has been lost in 14.0.
Would like to turn this off via the Registry can you advise me which value will allow that?
Many thanks Adz
After installing Path Copy Copy, going to the Windows Control Panel -> Programs and Functions (or how ever it‘s called in English), there‘s no version reported in the ‚Version‘ column. It would be nice if it was reported there.
Add variables like %filename%, %filepath%, etc. in find/replace operations in custom commands.
Original issue: https://pathcopycopy.codeplex.com/workitem/11422
china use network proxy, can't download this url, but can work in other 2.
(sorry, very bad english)
Wonderfull software, thank you very much !
Now:
Custom Command / Options:
Launch executable with path(s) instead of copying to the clipboard
Executable: C:\test.exe
Request:
Custom Command / Options:
Launch executable with filelist.txt instead of copying to the clipboard
filelist.txt: C:\myfiles.txt
Executable: C:\test.exe
I tested v15.0 on Win XP 32bit the reg file is not created even though message box indicates it was created successfully. Can anyone reproduce this issue ?
Is it possible to get a code signing certificate for you / the code so that the downloads pass basic checks - this is for a work IE 11 with anti-virus checking, that says "The publisher of this program couldn't be verified Learn more".
I believe there are 'free Open Source developer code signing certs' available. (favourite search engine should find a few providers).
The Git for Windows developer I think uses 'Certum Level III CA'
If copy a path,could you add a \ at the end of path?such as "C:\Windows\System32\“.
If copy a filename,it needn't add a \ at the end.
thank you!
https://www.f-secure.com/sw-desc/pua_w32_app_online.shtml
I see that this happens occasionally but I just want you to know it for the record.
Add keyboard shortcuts to call commands directly.
Original issue: https://pathcopycopy.codeplex.com/workitem/10951
I can not install the program :(
Add a command to copy the SVN path of a file/folder in a working copy.
Original issue: https://pathcopycopy.codeplex.com/workitem/11381
For users with a lot of context menu items this option would provide a way to unclutter the context menu just a little.
Let commands specify multiple paths. Allow the user to choose one via another submenu. Implement this in UNC-based commands to publish multiple UNC paths when they exist.
Original issue: https://pathcopycopy.codeplex.com/workitem/11366
This functionality is useful in projects such as maintaining content found on https://chocolatey.org/packages
Hello!
Please could you add another option to convert a UNC path to SMB path?
Quite similar to Internet path, smb://path instead of file://path
Currently it would be really useful for PC to Mac sharing!
Thanks!
Regards
Hey there, thanks for doing this very helpful piece of software.
Is it possible to implement an option to send the path to a new email?
I managed this already - but it would be nicer, when it would be choseable directly as a standard option.
I just did a batch file, containing:
start "" mailto://?body=%1
and chose this batch file to launch as the executable file.
Unfortunately, it depends on the used mailto handler/software, whether the link will be working or not.
Chrome/inbox -> works properly
Lotus Notes -> replaces "%20" by "[space]" - file://-link won't work like this.
Had no other e-mail clients...
Think, this would be a piece of cake for you, isn't it?
Cheers
soendi
Hello Charles,
I followed: https://pathcopycopy.codeplex.com/wikipage?title=Developer&referringTitle=Documentation
To an extent it is very well explained. I wanted to help out with few of the issues here. To be honest I use Qt and so it kind of helps. So this would be the first C++ project outside using the library.
My question is, I wanted to find out how to debug the application. Sorry about the novice question.
I know this is not a typical GUI application and this is why I wanted some help if you have the time. Also, I do a lot of work with C# so C++ is a little harder lol.
It seems like Microsoft closed Net Framework 3.5 installation for Windows 10.
Wondering if you could add any flags to the exe to allow silent installs, suppress messages, overwrite existing/close open apps, just a few to allow remote installation from PDQ or SCCM (/silent or /s, etc)
Hello,
I just tried to install the latest release on WinXP SP3 and got the following error:
"Error loading PCC32.dll - Invalid access to memory location."
I can run the PathCopyCopySettings.exe but the error continues to pop up.
It would be great to make it work on XP too
as your tool is really useful, thanks!
Add WSL (Windows Subsystem for Linux) paths which are similar to Cygwin paths. WSL mounts all system drives as /mnt/.
Add a command to copy the true path of a DFS-redirected path.
Original issue: https://pathcopycopy.codeplex.com/workitem/11420
You presently support Cygwin paths which prepend the appropriate /cygdrive/lower-case-drive-letter/. This can't be replicated using the ECMA/Javascript regular expressions for WSL Linux paths which are also case-sensitive (case sensitivity within WSL can be enabled or disabled through options and file attributes). However, WSL mounts all mapped drives as /mnt/lower-case-drive-letter/. Support for this would make pathing from Windows trivial (convenient).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.