FlexHEX command line may include file names and switches.
A switch starts with either / (slash) or -
File Type Switches
/file – open the subsequent file(s) as standard file system object(s).
/ole – open the subsequent file(s) as OLE compound file(s).
If no switch is specified, /file is assumed.
FlexHEX a.dat /OLE b.doc /FILE c.ext
opens files a.dat and c.ext as raw unstructured files, and b.doc as a compound file.
Access Mode Switches
/ro – open the subsequent file(s) for read-only access.
/rw – open the subsequent file(s) for read/write access.
If no switch is specified, /rw is assumed.
FlexHEX a.dat /RO b.dat /RW c.dat
opens a.dat and c.dat for reading and writing, and b.dat for reading only.
/dX – open logical device X, where X is a latin letter A to Z.
/pN – open physical drive N where N is a digit 0 to 9.
The drives will be opened for read/write or read-only access depending
of the active /rw or /ro switch.
FlexHEX /p1 /ro /de
opens physical drive 1 for reading and writing, and logical drive E: for reading.