I'm looking for a way to copy the path of a file in a way that allows me to
paste it into a TCL shell or other shell with UNIX-like quoting mechanisms.
Example:
c:\folder\file.txt
This needs to be in in either of the two following forms:
- doubled backslashes
c:\\folder\\file.txt
- forward slashes
c:/folder/file.txt
I don't use this on paths with spaces in them, but I guess that spaces would
need to be escaped or quoted as well, e.g.
C:\\Program\ Files\\StExBar\\StExBar.dll
or
C:/Program\ Files/StExBar/StExBar.dll
or
"C:\\Program Files\\StExBar\\StExBar.dll"
or
"C:/Program\ Files/StExBar/StExBar.dll"
That said, I still need the existing "Copy Paths" in its existing form.
The request is:
- Leave existing "Copy Paths" menu item as it is.
- Add "Copy Paths (UNIX format)" to menu.
- Add options to option menu to select one of the four different quoting types.
Thanks,
Allan
Original issue reported on code.google.com by allan.he...@gmail.com on 27 Mar 2012 at 11:13
Original issue reported on code.google.com by
allan.he...@gmail.com
on 27 Mar 2012 at 11:13