PDA

View Full Version : Changing -d (directory)


pmonk
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!

uhclem
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.:

C:/somepath/somefolder/

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

cygdrive/c/somepath/somefolder/

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.

Five
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.