HPLXFile, version 1.0

Pavel Zampach


This program is "standalone version of TC plugin". It can work with files on HP100/200LX via Filer protocol. It is usefull especially in batch files. Care! Program is Windows console application, will not work under MS-DOS!

History

1.0

  • first public release

Using

Connect PC and HPLX with cable, 3-wire cable (TX, RX, GND) can be used. On HPLX run Filer, for the first time check and set desired communication parameters (port, speed, server mode enabled).

Syntax

HPLXFILE [/C#] [/P#] /L|/R|/M|/N|/D[M]|/U[M] filename1 [filename2]
/S# Speed of COM port

Sets speed of Com port, as number use one of values [1200..115200]. If parameter is omitted, default speed 115200 Bd is used. Example:

HPLXFILE /S57600 ...
/P# COM Port

Sets Com port used for communications, as number use one of values [1..8] for ports COM1..COM8. If parameter is omitted, default port COM1 is used. Example:

HPLXFILE /P2 ...
/L deLete file

This command deletes specified file. Use unique filename without wildcards. Example:

HPLXFILE /L c:\p\testfile.txt
/N reName file

This command renames file. Both filenames must be unique without wildcards. Example:

HPLXFILE /N c:\mydir\oldname.txt c:\mydir\newname.txt
/R Remove dir

This command removes specified directory, what must be empty. Example:

HPLXFILE /R c:\mydir
/M Make dir

This command makes specified directory. Example:

HPLXFILE /M c:\newdir
/D[M] Download file

This command copies file from HPLX to PC. Both filenames must be unique without wildcards. If command is used in form /DM, file is moved i.e. source file is deleted past copying. Example:

HPLXFILE /D c:\mydir\source.txt c:\helpdir\target.txt
/U[M] Upload file

This command copies file from PC to HPLX. Both filenames must be unique without wildcards. If command is used in form /UM, file is moved i.e. source file is deleted past copying. Example:

HPLXFILE /U c:\helpdir\source.txt c:\mydir\target.txt 

Error codes

ERRORLEVELreason
0no error
1syntax error in command line
2connection couldn't be established
3command error

Feedback

Send, please, your bug reports, comments and suggestions to <zampach@volny.cz>