Hello Guys,
I'm somewhat of a scripting amature when it comes to this kind of stuff and need a little help with somthing.
I've got a piece of software that I can run and it polls network devices that it finds in range, and then outputs thier details onto the screen (command prompt).
Now, I've been using the old
To have it output the results into a file which i can then read and use for other opperations.
Now, the issue i'm having is that the initial opperation can take several minutes to complete, and this is a long time to wait. If you watch the opperation run manualy, it lists the devices as it finds them on the screen, however when outputing to a file it waits untill it completes before it writes the output.
Any ideas on how to have it write the results to file as they come rather than waiting untill the end?
Let me know if there is anything more i can tell you,
Thanks,
Rob
I'm somewhat of a scripting amature when it comes to this kind of stuff and need a little help with somthing.
I've got a piece of software that I can run and it polls network devices that it finds in range, and then outputs thier details onto the screen (command prompt).
Now, I've been using the old
Code:
MyCommand >> file.txt
To have it output the results into a file which i can then read and use for other opperations.
Now, the issue i'm having is that the initial opperation can take several minutes to complete, and this is a long time to wait. If you watch the opperation run manualy, it lists the devices as it finds them on the screen, however when outputing to a file it waits untill it completes before it writes the output.
Any ideas on how to have it write the results to file as they come rather than waiting untill the end?
Let me know if there is anything more i can tell you,
Thanks,
Rob