View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Tough One - Return output from Dos Process without writing to file

http://vbnet.mvps.org/code/internet/ping.htm

--
Regards,
Tom Ogilvy

"Andibevan" wrote in message
...
Hi All,

Does anyone know of an approach that could be used to return the output of

a
dos command without having to create a temporary file.

I am currently using the following dos command as part of a "Shell"
command:-

ping localhost temp.txt

I can only find solutions that seem to only work in .net and I need
something for good old VBA

Thanks in advance

Andi