in reply to file's treatment

The difference is that in the first case $i only contains the filename, but in the second case it contains the full path.

If you had been in the test directory, the first version would work, too.

Try changing the test in the first version to -f "$ORIG/$i" (yes, the / should work on Windows, too).