Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help in copying .csv format file

Status
Not open for further replies.

vibhava

Programmer
Apr 20, 2008
19
US
hi,
i need to write a code that copies uotput of my model at some other folder. I need to do this because i need to run my model for 50 time and want that all the results are (for 50 runs) are stored in a separate folder for analysis.The excel file is in .csv format. all i need is to copy it completely in a second .csv file.
So to sum up I have a file :
C:\WAMView\bnz\LocalOutputs\Reaches\reach00001111.csv
I want to create its copy in:
C:\WAMView\bnz\WAMSA

any help would be appreciated

thanks

vibhava

 
Just issue a system command

call system ('copy C:\WAMView\bnz\LocalOutputs\Reaches\reach00001111.csv C:\WAMView\bnz\WAMSA')
 
thank you so much for your help. it worked

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top