I have a batch file with the command lines
set path=%~dp0bin;%PATH%
"%~dp0bin\POIDE.EXE" /XML "%~dp0Pellesc.Xml"
I am trying to run the POIDE 6.00.4 (32 bit) with the /XML switch from a USB stick.
The error displayed reads
Error reading from "Pellesc.xml"
The filename, directory name, or volume label syntax is incorrect.
I tried with new and old installs still no go.
The XML file contains the data below and is UTF-8 encoded.
===============================
<?xml version="1.0" encoding="UTF-8"?>
<settings version="1.0">
</settings>
===============================
Any help would be nice.
Why not just in PellesC folderstart bin\poide.exe /xml PellesC.xml
a) start POIDE.EXE /XML Pellesc.Xml
Then the error reads cannot find the XML file.
b) start POIDE.EXE /XML c:\pellesc\bin\Pellesc.Xml
Then the error reads cannot find the XML file.
POIDE.EXE -xml c:\pellesc\bin\pellesc.XML
This worked. The switch character is '-' not /.
From help:
Quote
Command line options (POIDE)
POIDE has the following general syntax:
POIDE [ { filename | option } ... ]
The filename argument specifies the name of any kind of file. Wildcards are not allowed.
An option starts with the / (or -) character, must be given exactly as specified (case sensitive), and can be one of the following:
...
/xml Stores all personal settings in the specified XML-file. [5.00]
Quote from: drhoule on November 05, 2010, 01:55:18 PM
POIDE.EXE -xml c:\pellesc\bin\pellesc.XML
This worked. The switch character is '-' not /.
I use a command like this
M:\Portable\PellesC.x\Bin\poide.exe /xml my.xml /x /n for Pelles C 5.01, 6.0 and 6.50rc2 and it works for all. I use Windows XP, Windows Vista and Windows 7.