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.