Jump to content











Photo
- - - - -

DirCopy


  • Please log in to reply
3 replies to this topic

#1 niche99

niche99

    Frequent Member

  • Advanced user
  • 235 posts
  • Location:Aberdeen, Scotland
  •  
    Scotland

Posted 08 September 2006 - 09:04 PM

Hi,

DirCopy, "FromDir\FromDir", "ToDir\ToDir"

will result in "ToDir\ToDir\FromDir". I want the contents of "FromDir\FromDir" to be placed in "ToDir\ToDir". How exactly can this be done (without using tedious multiple FileCopy)?

Regards,
niche99

#2 Draugen

Draugen

    Frequent Member

  • .script developer
  • 147 posts
  • Location:South of Heaven

Posted 09 September 2006 - 03:49 AM

AFAIK, not at all with one command, as of now. But you would'nt need multiple filecopy's:

DirMake,"ToDir\ToDir"

FileCopy,"FromDir\FromDir\*","ToDir\ToDir"

Note the asteirsk. The Dir and File manipulation scripts all support wildcards. :P.

#3 niche99

niche99

    Frequent Member

  • Advanced user
  • 235 posts
  • Location:Aberdeen, Scotland
  •  
    Scotland

Posted 09 September 2006 - 10:21 AM

AFAIK, not at all with one command, as of now. But you would'nt need multiple filecopy's:

DirMake,"ToDir\ToDir"

FileCopy,"FromDir\FromDir\*","ToDir\ToDir"

Note the asteirsk. The Dir and File manipulation scripts all support wildcards. :P.


Thank you for the useful reply.

Regards,
niche99

#4 proton

proton

    Member

  • .script developer
  • 77 posts

Posted 17 September 2006 - 04:32 PM

I too face the problem with DirCopy.
Can we expect the "DirCopy" to properly work...?.

proton




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users