cancel
Showing results for 
Search instead for 
Did you mean: 

Moving N files from one location to another using Dataservices script

Former Member
0 Kudos

Hi experts,

I know how to move one with this script like this:

exec('cmd','move <file>\<path> <newpath>')

This works with one file.

But what happens when y have one file for each yearmonth? File_201301 File_201302, etc...

Can I make something like this then? Like Move File_* or something.

Thanks a lot!

Artur.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes you can.

Arun

Former Member
0 Kudos

Can you explain me how please? Only putting the * does not work...

Former Member
0 Kudos

Try - exec('cmd','move C:\\dir1\\'|| 'FILE_* C:\\dir2',8);