Unsolved
This post is more than 5 years old
19 Posts
0
5466
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
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
November 15th, 2011 11:00
can we see the syntax
flauridsen
19 Posts
0
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
flauridsen
19 Posts
0
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
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
November 15th, 2011 12:00
hmm..this works ok for me:
emcopy "\\emcn1vsacifs1\test share" "\\emcn1vsacifs1\another share"
Rdamal
2 Intern
2 Intern
•
165 Posts
0
December 29th, 2013 19:00
Hi
What is the purpose of /stream switch
Thanks,
Damal
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
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.
Rdamal
2 Intern
2 Intern
•
165 Posts
0
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.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
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 ?
Rdamal
2 Intern
2 Intern
•
165 Posts
0
December 30th, 2013 09:00
Nope. Never had Mac users. I guess that's what is is, windows compatibility with Mac.
Rainer_EMC
8.6K Posts
0
January 6th, 2014 07:00
See http://en.wikipedia.org/wiki/Fork_(file_system)
Rdamal
2 Intern
2 Intern
•
165 Posts
0
January 6th, 2014 07:00
Thank you Rainer.