Formatting -CreateDate in an ARG file

Started by copyrightimage, November 05, 2012, 07:54:04 AM

Previous topic - Next topic

copyrightimage

Hello everybody, my first post so please be kind!

I'm after formatting datetime so that I don't get the time also, its easy to do on the command line

-createdate -d %d/%m/%y

however when I call the same line as an arg file I get nothing.
I have tried various escape characters but to no avail, would love to know the answer to this one, any help appreciated.

Many thanks

Stephen

Phil Harvey

Hi Stephen,

Quote from: copyrightimage on November 05, 2012, 07:54:04 AM
Hello everybody, my first post so please be kind!

Kind?  I don't know...

I'll try. :P

QuoteI'm after formatting datetime so that I don't get the time also, its easy to do on the command line

-createdate -d %d/%m/%y

however when I call the same line as an arg file I get nothing.

The argfile is one argument per line, so it should look like this:

-createdate
-d
%d/%m/%y


(sorry for the underline, I realize that wasn't very kind but I wanted to emphasize this because it is a common mistake)

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

copyrightimage

Thanks Phil, much appreciated, I'm usually the one telling somebody off for not reading instructions carefully, funny to be on the receiving end!

My arg file work fine now, many thanks for this and all your efforts in making something so useful.

Stephen