Originally posted by HUNRYBECKY at 2006-12-19 02:01 AM:
There is a problem with the test, and it prompts that the command syntax is incorrect.
Please post the command you used.
Running without parameters will also have this prompt. I'll modify it later.
It may be because there is no "".
It is recommended to use "" for all added parameters.
Example:
inifile "c:\boot.ini" "" "timeout"
The code on the first floor has been updated, but the attachment has not been updated. You can modify it according to the code on the first floor.
if not exist %1 goto :file_err
Change the line to move to
if not exist %filepath% goto :file_err
[
Last edited by chenall on 2006-12-19 at 02:08 AM ]