Hi,
i often need to copy pathes to C++. I would be useful if the Ctrl-Right click menu also offers the path C-String escaped and with forward-slashes instead of backslahes:
"E:\\Path1\\Path2\\file.txt" (\-escaped)
"E:/Path1/Path2/file.txt" (forward-slash
Thanks Jochen
Ctrl-Right click: Path as C-String (Escaped) and with Forward-slashes
Re: Ctrl-Right click: Path as C-String (Escaped) and with Forward-slashes
While you wait for it you could use a tiny script in the meantime (and just put it on a keyboard shortcut)...
Code: Select all
"\-escaped"
copytext replace(<curitem>, "\", "\\");
"forward-slash"
copytext replace(<curitem>, "\", "/");
One of my scripts helped you out? Please donate via Paypal
Re: Ctrl-Right click: Path as C-String (Escaped) and with Forward-slashes
Thanks, i will run the scripts from the "open with" menu.highend wrote:While you wait for it you could use a tiny script in the meantime (and just put it on a keyboard shortcut)...
Code: Select all
"\-escaped" copytext replace(<curitem>, "\", "\\"); "forward-slash" copytext replace(<curitem>, "\", "/");
XYplorer Beta Club