Windows XP command line uses all CPU (ntvdm)

Post questions on how to use or achieve an effect in Inkscape.
tschreiter
Posts: 2
Joined: Sun Feb 12, 2012 6:23 pm

Windows XP command line uses all CPU (ntvdm)

Postby tschreiter » Sun Feb 12, 2012 6:34 pm

Hi,

I want to export an SVG file to PDF on Windows XP from the command line. When using the command

Code: Select all

inkscape.exe hello.svg -z -D --export-pdf=hello.pdf --export-latex

the process NTVDM uses one CPU core completely, and does not produce anything. (The input file is in the current directory, and inkscape.exe is in the path. Inkscape v0.48.2)

Do you have any ideas how to fix this?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Windows XP command line uses all CPU (ntvdm)

Postby ~suv » Sun Feb 12, 2012 8:34 pm

Did you try calling inkcape without the ".exe" suffix?

Code: Select all

inkscape hello.svg -D --export-pdf=hello.pdf --export-latex

See also

tschreiter
Posts: 2
Joined: Sun Feb 12, 2012 6:23 pm

Re: Windows XP command line uses all CPU (ntvdm)

Postby tschreiter » Sun Feb 12, 2012 8:50 pm

It works now. The command itself is correct, my mistake was that I named the script test.COM. This is interpreted as a DOS program. Renaming it to test.BAT solves everything.


Return to “Help with using Inkscape”