Start a Conversation

Unsolved

This post is more than 5 years old

F

5466

November 15th, 2011 11:00

What is the command syntax of EMCopy with spaces in Share name

Hi All, I have a question. I have a share name with spaces in it. I want to use emcopy to copy the share.. But I get an error when issuing the command  due to the space.. I have tried quotes that does not make it recognize the share name..

thanks

Fred

2 Intern

 • 

20.4K Posts

November 15th, 2011 11:00

can we see the syntax

19 Posts

November 15th, 2011 12:00

emcopy_v4.12.exe \\172.16.100.123\Scanned%20Medical%20Records\ \\172.16.101.28\Scanned%20Medical%20Records\ /o /a /secfix /i /s /d /r:3 /w:10 /th 256 /c /purge  /stream /TEE /log+:c:\windows\temp\EMcopy-medicalrecords.txt

emcopy_v4.12.exe \\172.16.100.123\Scanned Medical Records\ \\172.16.101.28\Scanned Medical Records\ /o /a /secfix /i /s /d /r:3 /w:10 /th 256 /c /purge  /stream /TEE /log+:c:\windows\temp\EMcopy-medicalrecords.txt

emcopy_v4.12.exe "\\172.16.100.123\Scanned Medical Records\" "\\172.16.101.28\Scanned Medical Records\" /o /a /secfix /i /s /d /r:3 /w:10 /th 256 /c /purge  /stream /TEE /log+:c:\windows\temp\EMcopy-medicalrecords.txt

I have tried all 3 ways and none of them are recognized the share name

19 Posts

November 15th, 2011 12:00

I got it working I had to get rid of the \ at the end of the share name

thanks dynamox

2 Intern

 • 

20.4K Posts

November 15th, 2011 12:00

hmm..this works ok for me:

emcopy "\\emcn1vsacifs1\test share" "\\emcn1vsacifs1\another share"

2 Intern

 • 

165 Posts

December 29th, 2013 19:00

Hi

What is the purpose of /stream switch

Thanks,

Damal

2 Intern

 • 

20.4K Posts

December 29th, 2013 20:00

The "/stream" option enables the copies of files and directories datastreams.

Without that option only the main datastream of files are copied.

use dir /R to view if your files have any associated streams. If you see file name followed by colon, ie: program.exe:zone$DATA , that means there is an extra stream created for files.

2 Intern

 • 

165 Posts

December 30th, 2013 08:00

Thank you Dynamox.

From the info that you gave and I also looked up for what Alternate Data Streams online, i think i understood what it is. I came across many emcopy scripts and i never came across /stream handler. So is it recommended to use it all the time or is there a case you can tell me where we need to use that specific handler.

2 Intern

 • 

20.4K Posts

December 30th, 2013 08:00

honestly i have never used that option myself and I've migrated tons of physical servers to Celerra/VNX without issues. Do you have any Apple users ?

2 Intern

 • 

165 Posts

December 30th, 2013 09:00

Nope. Never had Mac users. I guess that's what is is, windows compatibility with Mac.

8.6K Posts

January 6th, 2014 07:00

See http://en.wikipedia.org/wiki/Fork_(file_system)

2 Intern

 • 

165 Posts

January 6th, 2014 07:00

Thank you Rainer.

No Events found!

Top