Some of my findings:
1) Non-existing folders are not being created if COPY is used to copy a specific file
2) Non-existing folders are being generated if COPY is used to copy a whole directory AND only ONE subfolder is missing
3) Non-existing folders are NOT being generated if more than one level of folders is missing

Code:

'KiXtart version is: ' + @KiX ?
'About to copy file from UNC...' ?

; this will fail
copy "\\sensei\d$\test\test.txt" "d:\unc\TEST.TXT"
'Copy UNC File Error was: ' + @ERROR + ' - ' + @SERROR ?

md "d:\unc\"
'MD Error was: ' + @ERROR + ' - ' + @SERROR ?

; this will succeed
copy "\\sensei\d$\test\" "d:\unc\test.txt\"
'Copy UNC File Error was: ' + @ERROR + ' - ' + @SERROR ?

; this will fail
copy "\\sensei\d$\test\" "d:\unc\deep\test.txt\"
'Copy UNC File Error was: ' + @ERROR + ' - ' + @SERROR ?

_________________________
There are two types of vessels, submarines and targets.