Z
zino
Guest
I don't know if I'm hitting the right group, if not can somebody tell me
which group to post in.
I need to use Eseutil utility from Microsoft Exchange sever to copy a large
folder(120 gig).
Eseutil does not accept * character, therefore I need to use it in a " for
..... in" DOS command.
the root folder to copy from contains subfolders and files and the subfolder
too contains subfolders and files. (each subfolder contains multi level of
subfolders and files with different extensions)
I need to use something as the following :
myRootFolder> for /R %I in (.) do for /D %K in ("%I") do mkdir %K
for /F %G in (dir %K /A:-D /B) do Eseutil /Y \\server1\c$\%G
/D\\server2\d$\%G
the command above is not correct. But what I'm trying is:
1- loop into each folder
2- get the folder name and create an empty similar one on the target(has the
same name)
3- fetch all the files under this folder
4- use Eseutil to copy the files one by one
thanks for help
which group to post in.
I need to use Eseutil utility from Microsoft Exchange sever to copy a large
folder(120 gig).
Eseutil does not accept * character, therefore I need to use it in a " for
..... in" DOS command.
the root folder to copy from contains subfolders and files and the subfolder
too contains subfolders and files. (each subfolder contains multi level of
subfolders and files with different extensions)
I need to use something as the following :
myRootFolder> for /R %I in (.) do for /D %K in ("%I") do mkdir %K
for /F %G in (dir %K /A:-D /B) do Eseutil /Y \\server1\c$\%G
/D\\server2\d$\%G
the command above is not correct. But what I'm trying is:
1- loop into each folder
2- get the folder name and create an empty similar one on the target(has the
same name)
3- fetch all the files under this folder
4- use Eseutil to copy the files one by one
thanks for help