comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Copy file to all subfolders
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Copy file to all subfolders [message #90914 is a reply to message #90913] Tue, 12 May 2015 07:33 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mats Löfdahl writes:

> You could use something like
>
> subfolders=file_search('MAIN_FOLDER/Subfolder?',count=Nfolde rs)
> for i=0,Nfolders-1 do spawn,'cp '+filename+' '+subfolders[i]

Or, for an IDL solution, FILE_COPY. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot southern coordinates in northen map
Next Topic: % Program caused arithmetic error: Floating illegal operand

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:07:52 PDT 2025

Total time taken to generate the page: 0.00211 seconds