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 #90918 is a reply to message #90914] Tue, 12 May 2015 07:48 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den tisdag 12 maj 2015 kl. 16:33:13 UTC+2 skrev David Fanning:
> 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. ;-)

Who said anything about IDL? :o)
[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:06:46 PDT 2025

Total time taken to generate the page: 0.00467 seconds