Groups
Sign in
Groups
MolSoft ICM Knowledge Base
Conversations
Labels
About
Send feedback
Help
How can I export the result of the show command to a string?
6 views
scripting
Skip to first unread message
Andrew Orry
unread,
Mar 27, 2017, 3:21:23 PM
3/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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