Is it possible to export the command prompt session result to a host over the network?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
If the location where you want to save the file is accessible over the network, then you can simply use command redirection to send the output of your command directly to a file. For instance (with the
If you want to do this multiple times and append the output to the same file each time, use Edit: if the remote machine requires credentials other than those of the logged in user, try this:
The first line connects to the shared folder using the given username and password, and the third line disconnects. |
|||||||
|
