View Full Version : Changing -d (directory)

2005-03-08, 03:40 PM
I know when converting files using shntool you can change the directory where the converted file ends up but I am having a little trouble in getting this done and the instructions didn't really help me.

Any advise would be appreciated!

2005-03-08, 05:56 PM
Because the program was compiled using Cygwin, you have to use Cygwin-specific ways of formatting the path. This means you have to reverse the '\' symbol in your directory path to '/', e.g.:


If for some reason that doesn't work, use the 'cygdrive' feature like this:


Put it together with the -d switch and you get:

-d "C:/somepath/somefolder/" or -d "cygdrive/c/somepath/somefolder/" (Quotes are optional but recommended.)

In fact, you should always use this syntax with shntool if you want to refer to any directory or file outside of the working directory.

Hope this helps.

2005-03-08, 08:00 PM
slightly off-topic, I discovered that you can change the input directory in the command line window by typing cd followed by a space, then dragging and dropping a folder onto the black window, then return to the cmd.exe and hitting enter.