The -p command line option sets the output directory where LCIO files will be created.
slic -g mygeom.lcdd -o output_events -p ./output_dir
In the above, the LCIO file will be created at the relative path ./output_dir/output_events .
The corresponding command is /lcio/path.
/lcio/filename output_dir