IceRobotics Limited ICE3DST3 用户手册
Appendix B: Example command line exports
Using the IceTagAnalyser 2008 command line options can be a quick way of exporting a
whole directory of session files to CSV or MDP format, without having to manually open each
file individually. This appendix contains some simple examples.
whole directory of session files to CSV or MDP format, without having to manually open each
file individually. This appendix contains some simple examples.
B.1 Exporting a single file to CSV
Open a command line window by clicking the windows Start button and selection Run… from
the menu. Type cmd.exe into the edit-box and click OK. This should open a command line
window.
Open a command line window by clicking the windows Start button and selection Run… from
the menu. Type cmd.exe into the edit-box and click OK. This should open a command line
window.
Change to the directory that contains the session file using the cd command. For example:
cd \Program Files\IceRobotics\IceTagAnalyser\Sessions
The following example shows how to export a file called test.ses to csv format, where
<path> would be replaced with the full path to IceTagAnalyser (typically \Program
Files\IceRobotics\IceTagAnalyser):
<path> would be replaced with the full path to IceTagAnalyser (typically \Program
Files\IceRobotics\IceTagAnalyser):
“C:\<path>\IceTagAnalyser.exe” /exp /format:csv test.ses
The above example will prompt for an output name. To force the file to be exported as
test.csv or test.mdb, simply add in the /force option:
test.csv or test.mdb, simply add in the /force option:
“C:\<path>\IceTagAnalyser.exe” /exp /format:csv /force test.ses
B.2 Exporting all files in a directory to CSV
The following example can be used to export all files in the current directory to CSV, where
again <path> should be replaced with the actual path of IceTagAnalyser.exe:
The following example can be used to export all files in the current directory to CSV, where
again <path> should be replaced with the actual path of IceTagAnalyser.exe:
for %f in (*.ses) do “C:\<path>\IceTagAnalyser.exe” /exp /format:csv /force %f
NB: If this line is used in a batch file, the two % characters need to be doubled; change %f to
%%f.
%%f.