• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Strange clipboard glitch...

Ichinisan

Lifer
Why would a PASTE operation ever overwrite the clipboard contents?

I don't think this is really a glitch, just a stupid bit of code that was left in for some reason (I can't fathom why).

I wanted to assemble a full path to a particular file (dsl-filter-and-spliter.jpg) that was saved on the Desktop of my work PC. I highlighted and copied the path ("\\apps-server\users\user1\Desktop") from the file Properites screen. On the same screen, I tried to paste the path before the filename. I wanted to type another "\" on the end, then copy the full path WITH the filename, then click Cancel. I know the field works for renaming the file, so I know the slash is not a valid character in a filename. I was planning to click "Cancel" after copying the full path.

As soon as I tried to paste the path, I got the message about invalid characters and it stripped the slashes from the pasted output. Oh well, so I can't do what I intended to do in that particular text box. I hold the [Win] key and press [R] to bring up the Run menu and paste there. What comes out isn't what I had originally copied:

"apps-serverusersuser1Desktop"​

Why did a paste operation re-write my clipboard contents? Stupid...
 
It's the intended behavior so that you won't get the same annoying error popup each time you paste. It's a matter of picking what use case to optimize for, and they figured that people who re-do that paste likely will be doing it in the same context instead of a different one.

BTW, if you hold down Shift while opening the context menu for a file in Explorer, you'll get the extended context menu, which has a very useful copy path option--you should use that instead.

Also, if you drag a file or folder into a command prompt, it copies the path into the command prompt (properly quoted, too). You can also drag the current directory location (by dragging the folder icon in the Explorer address bar) into a command prompt to copy that path.
 
Last edited:
Back
Top