开发者

Escape comma in batch file to execute a graphicsmagick command

I've got the line gm -mogrify -level 30%,10,100% Edit.jpg in a .bat file t开发者_开发知识库hat executes perfectly when I type it manually. However, it ends the line on the first comma of the argument when executed as a batch script.

How should I rewrite this to make it work?

Thank you.


% is a special character in batch script. Use %% instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜