views:

23

answers:

1

I tried to run inkscape shell mode by writing these lines in a .bat file:

inkscape --shell
>2.svg -e 2.png
But it doesn't work at all (no png files), more over I tried to open the current svg input and I found it damaged and I failed to open it at all. Could any one please tell me the right command lines to enter the SHELL mode and execute other inkscape command lines.

A: 

You're redirecting output, using the ">", to 2.svg. ">" means redirect output to this file.

Probably more correct would be:

rem echo the commands you want to execute to a file
echo "2.svg -e 2.png" > commands.txt
echo "quit" >> commands.txt
inkscape --shell < commands.txt

not sure if this works because I don't use windows.

DiggyF
HI,Finally I could work with shell mode, Just by downloading the last version of inkscape, THANKS you ALL.
loll