Re: Copy...



kiran wrote:

I am writing a code to copy files & folder recursive to destination path

Read up on the xcopy [DOS] command.

Copying files and directories is what this command was written for and it has /loads/ of selection criteria for you to play with.

Dim fso As New Scripting.FileSystemObject

Forget you ever heard of the FileSystemObject.
It is rarely, if /ever/, needed in a VB "Proper" program.

HTH,
Phill W.
.



Relevant Pages

  • Re: Directory Size problem
    ... That's what the ln command is all about. ... the file strorage is not reclaimed until the last open channel is ... If a file is opened by multiple channels then this phenomenum will ... Play with these commands and you'll see all of this stuff come into play. ...
    (Fedora)
  • Re: Getting error on all audio/video played, just happened for no
    ... I actually found out what it was, I needed to do a run command to fix my ... network/file sharing. ... has a Windows Media Player bar to play the audio) but streaming video from ... Windows Media Player cannot access the file. ...
    (microsoft.public.windowsmedia.player)
  • Re: Automatically Pause DVD Chapters on Last Frame
    ... Can anyone tell me how to make a DVD which first ... me to hit the "play" button then continues to play ... the VM Command Set. ... Registers and the General Parameter Registers ...
    (rec.video.desktop)
  • Re: [OT] simpliest way to process this data file
    ... easy solution (tried to play with "N" command a lot of times). ... how to do it in awk but I am pretty interested to learn a second ...
    (freebsd-questions)
  • Re: Directory Size problem
    ... the file strorage is not reclaimed until the last open channel is ... If a file is opened by multiple channels then this phenomenum will ... Play with these commands and you'll see all of this stuff come into play. ... I've run the sync command aswell, ...
    (Fedora)