How can I export the result of the show command to a string?

6 views
Skip to first unread message

Andrew Orry

unread,
Mar 27, 2017, 3:21:23 PM3/27/17
to MolSoft ICM Knowledge Base
Question:
How can I export the result of the show command to a string?

Answer:
Output of any command 'show' can be redirected to a string variable which can be later saved to the file

Example:
show v_// output="s" l_confirm = no
 
's' will contain what you'd seen in the terminal.

write string s "out.txt"  # save to file
Reply all
Reply to author
Forward
0 new messages