ccwd.exe – Copy Current Working Directory command

I’ve written a small program that can be run from the command line. The ccwd program will copy the current working directory to the clipboard. I wrote it so that I wouldn’t have to right-click, Mark, highlight text in the console window, and press Enter to copy the text of the current working directory.

Now I can just run ccwd.exe and have it done automatically.

The source code is released under a BSD-style open source license, and the Windows binary is 7kb. I made this program intentionally simplistic (it is fashionable to call it light-weight), for people looking for very simple functionality. Place ccwd.exe somewhere in your system path (such as C:\Windows)

ccwd.exe does not produce any output, and returns 0 on success and a nonzero value on failure.

Source code

Binary executable

Similar programs can be found here:

2 Responses to “ccwd.exe – Copy Current Working Directory command”

  1. Steve Says:

    Thank You Al for such an awesome simple tool that I will be using daily. Great stuff from you as always ;)

  2. Kevin Says:

    I wrote something reasonably similar that works from windows explorer:

    http://kevinpluck.net/FileNameClip/

    I find it very useful :-)

Leave a Reply

free blog themes