Export data from command prompt

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have used the PSTools program 'PSinfo' to generate diskspace reports of
several machines. This allows the results to be dispalyed in the command
window in csv format. How do I send this information into a csv/Excel file
for reporting / manipulation as it is impossible to analyse whilst in the
command prompt?

Thanks for any help.

Adrian
 
adrianh said:
I have used the PSTools program 'PSinfo' to generate diskspace reports of
several machines. This allows the results to be dispalyed in the command
window in csv format. How do I send this information into a csv/Excel file
for reporting / manipulation as it is impossible to analyse whilst in the
command prompt?

Thanks for any help.

Adrian

The vast majority of command line commands let you redirect
their "Standard Output" to a text file like so:

psinfo > c:\info.txt
 
adrianh said:
I have used the PSTools program 'PSinfo' to generate diskspace
reports of several machines. This allows the results to be dispalyed
in the command window in csv format. How do I send this information
into a csv/Excel file for reporting / manipulation as it is
impossible to analyse whilst in the command prompt?

Thanks for any help.

Adrian

Append a path & filename for output to a .csv file... e.g.,

psinfo (blahblahblah) >c:\temp\psinforeport.csv
 
Thanks to both of you for a prompt reply - that's done just what I needed!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top