drifty
Thanks to the help on this forum I was ablle to put together some RoboCopy batch files to copy data and call fciv to hash them. This works fine until I hit some files with chinese characters in them. I looks like RoboCopy might work ok using Vista but fciv doesn't hash them. Is there a way to insure both RoboCopy and fciv get these files?
----------------------------
#2 24 Jun 2008 04:27
bluesxman
It's sounding like "fciv" doesn't dig unicode - you could try passing the 8dot3 file name to it instead.
cmd | *sh | ruby | chef
----------------------------
#3 24 Jun 2008 14:57
drifty
Do you know if it is possible to have RoboCopy create the 8dot3 file name in the log it creates?
----------------------------
#4 03 Jul 2008 12:51
bluesxman
Don't think so, but you could try using the "for" command (and also "call") to generate it and then pass that to robocopy to work with.
For example:
Code: Select all
for %%a in ("C:\Some Directory\Long File Name With Wanky Characters.txt") do set _short=%%~sa
cmd | *sh | ruby | chef