Source language: Translate to:

copy folder

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Postby edunaway » Fri Apr 27, 2007 8:38 am

Use the DOS command XCOPY

So if your data were on N: you would use:

xcopy n:\sourcefolder\*.* c:\destination\*.* /e

The /e switch will copy all subdirectories including empty ones.

You can write at .bat file on the fly with NB's FileWrite command and substitute "sourcefolder" with a parameter [SourceFolder], for example, and then call the .bat file using NB's run command. There are lots of way to do this...experiment and you'll be surprised at what you'll discover.

-eric
edunaway
 
Posts: 88
Joined: Wed May 04, 2005 9:17 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest