Command for copying path to clipboard

There's a FAQ about this command which would've answered your question, too.