"Copy as path" quoting

Discussion in 'Windows Vista File Management' started by Daniel Noll, Apr 13, 2007.

  1. Daniel Noll

    Daniel Noll Guest

    I just recently discovered "Copy as path" when holding down shift and
    right clicking a file or folder.

    Problem is it turns out that it puts quotes around the path so I often
    have to manually delete the quotes after pasting the path.

    I don't suppose there is some way to change the default behaviour. :)

    Daniel Noll, Apr 13, 2007
    1. Advertisements

  2. Daniel Noll

    Lee Guest

    I don't know but why do you want the quotes off?
    Lee, Apr 13, 2007
    1. Advertisements

  3. Daniel Noll

    Daniel Noll Guest

    1. Pasting a path into another application with the quotes on does not
    work. Try pasting into Internet Explorer or Firefox, for example.

    2. Pasting any string into an IDE might cause the IDE to escape the
    quotes, and besides, in general you don't want the quotes on a path
    in this scenario in the first place.

    Daniel Noll, Apr 16, 2007
  4. Daniel Noll

    Lee Guest

    Why would you paste an application path into a browser?
    I see. My point was that the Run line in Windows ignores quotes.
    Lee, Apr 17, 2007
  5. Daniel Noll

    Daniel Noll Guest

    Presumably you wouldn't. I was talking about the path to folders and
    files, which you would paste into a browser presumably because you would
    want to view them.
    Yep. The "Run" command ignores quotes, but pasting a path into that
    would be a waste of time since you might as well just double click on
    the item itself. The Command Prompt sometimes requires quotes, and
    sometimes doesn't. And most other applications do strange things unless
    the quotes are removed.

    Daniel Noll, Apr 17, 2007
  6. Daniel Noll

    Lee Guest

    OK, a little odd, I would use the Run interface for that.
    You might not be at the level of the particular file or folder at that time,
    so pasting a whole path that you had on the clipboard would be quicker than
    burrowing down with Explorer.
    Lee, Apr 17, 2007
  7. Daniel Noll

    Daniel Noll Guest

    I wouldn't. The Firefox window is already there, I don't need a second
    one. :)

    The programming use case is much more common anyway.

    Daniel Noll, Apr 18, 2007
  8. Daniel Noll

    Lee Guest

    Not to beat a horse, but right above you said you wouldn't paste an
    application path into a browser, but then you said you would. If you are
    trying to confuse me you're succeeding.
    Among programmers, no doubt..
    Lee, Apr 18, 2007
  9. Daniel Noll

    Daniel Noll Guest

    I would not paste an *APPLICATION PATH* into a browser.

    I would paste the path to *FOLDERS* and *FILES*.

    There is no contradiction here. Just someone who isn't reading very

    Daniel Noll, Apr 23, 2007
  10. It's tricky, because some contexts require these quotes (else the
    first space is taken as delimiting between partameters) while other
    contexts won't work with them (e.g. if appending to another path).

    It's one of those "can't please everyone" things, or rather, can't be
    compatible with all contexts. Perhaps there's an extra modifying key
    hold to change the behaviour, e.g. Ctl+Shift?
    cquirke (MVP Windows shell/user), Apr 24, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.