Giter Club home page Giter Club logo

pathcopycopy's Introduction

Path Copy Copy If you use Path Copy Copy and like it, please consider donating!

CI GitHub license Total downloads for latest release Total downloads

A Windows Explorer add-on that adds a contextual menu item on all files and folders allowing the user to copy the path in various formats. Idea copied from "Path Copy".

Works on Windows 7 SP1 or later. Grab the latest release here!

For help and information, please refer to the wiki.

The Path Copy Copy contextual menu items

pathcopycopy's People

Contributors

clechasseur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pathcopycopy's Issues

Request from a user: Write filepaths into a textfile

(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

Suggestion: copy .lnk paths!

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

Report version in Windows Control Panel

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 Feature - Copy Network Printer UNC path context menu option

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.

Suspicious installation file

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.

get FQDN

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".

Path is copied on right click, even if <Ctrl> is not pressed

Summary

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.

Steps to reproduce

  1. Copy the text Text that should remain in clipboard to your clipboard.
  2. In the PathCopyCopy settings, enable When user holds down Ctrl key when opening contextual menu, use this command: and set it to Copy long UNC path. Save the settings.
  3. Right click on a file or folder without touching the Ctrl key.
  4. Now paste from clipboard.

Result

The pasted text is the UNC path to whatever file or folder you clicked on.

Expected Result

The pasted text should be Text that should remain in clipboard

Workaround

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! :)

Suggestion: add \ at a path

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!

User request: Send path to new E-Mail

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

Enhancement: Setting to add quotes only when necessary.

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"

Ignoring updates does not work

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.

The .exe download is marked as unverified publisher..

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'

Cosmetic: Is there a way to remove "separator" from settings

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

export settings does not work

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 ?

[Question] Development builds and tests

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.

Silent flags for remote installation

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)

Pathcopy settings

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 Feature - Copy Path (UNC or not) and/or Name WITH quotes on both ends

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"

Error while installing on Windows XP SP3

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!

pathcopycopy

Request: Support WSL Paths

Add WSL (Windows Subsystem for Linux) paths which are similar to Cygwin paths. WSL mounts all system drives as /mnt/.

Convert UNC path to SMB path

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

User Request: short unix path

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.

Support WSL Linux paths

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).

MSYS/MSYS2 paths

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

Last build doesn't install unless SmartScreen is turned off

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:

mmc_2018-11-20_21-59-50

mmc_2018-11-20_22-00-10

After fiddling a bit, turning SmartScreen off allows it to run:

applicationframehost_2018-11-20_21-58-45

You get the old-school warning:

explorer_2018-11-20_22-03-41

But now it starts:

pathcopycopy15 1 tmp_2018-11-20_22-03-48

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 !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.