Pass a file (containing workstations) into an Array in a Console application
Posted on 2009-04-01
My goal is this. I'm eventually going to have some workstations passed into a Stored Procedure variable, which will in turn, pass that to a Console.exe file as an argument to process a list of workstations to be pinged.
I want to pass a file containing workstations (using ; (semicolon) as the delimiter, as an argument to a Console application. I'm a little bit familiar with the ProcessStartInfo class. Can someone tell me how to setup passing this file to an Array?
Most grateful to anyone and thank you Experts,