copy folder - Forum

Forum Navigation
VisualNEO Products: Web, Win and PixelNEO
You need to log in to create posts and topics.

copy folder

I know how to copy a single file, but I need to copy a folder

@neobook

1) What do you want to happen when your "source" folder contains one/more sub folders ... and those folders contains one/more sub folders ... and so on and so on ?

2) do you want to copy files in the "source" folder to a new "target" folder ... or an existing one ?

3) if an existing "target" folder", what do you want to happen if a file with the same name already exists ?

For a simple case (no sub folders), you can use a combination of native VisualNEOWin commands ...

FileList
FolderExists/CreateFolder
Loop/EndLoop
FileExists
FileCopy

If you need to copy files in sub folders (ad infinitum), you are better of using the DOS command XCOPY ... you can find the option switches here ... https://web.csulb.edu/~murdock/xcopy.html ... you can invoke this command using the Run command.

Let us know your specific requirements ... and any areas you need assistance with.

lgaFileSys plugin has a feature "lgaFolder/FileOptions" to copy/move folders and files.

I don't know if it handles subfolders.

Uploaded files:
  • You need to login to have access to uploads.

Here are some more plugins that allow you to copy a folder with all its contents:

Plugin = command

dec_Plus 1.9 (David Esperalta) = dec_CopiarUnDirectorio

NeoDouble 1.0.6 (David Esperalta) = npCopiarCarpeta

Open chat
1
Do you need more info?
Hi, do you have any doubt?