Link to home
Start Free TrialLog in
Avatar of n4narik
n4narik

asked on

Access data in command prompt in VB.net

How can we access the data from command prompt in VB.net and put the data in an array?
Say, we execute 'dir', I would like the result in an array in VB.net
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
See iboutchkines answer here:
https://www.experts-exchange.com/questions/21780733/Run-DOS-command-and-display-in-VB-net.html

You could instead use the Split() command to break the results out into an array.
Wow...I interpreted that one bass ackwards...   ;)