Kinda stumped here ... I am getting strange results from FileItemize ..
Using this code:
dirchange("c:\windows\system32")
a = FileItemize("ea*.*")
message("",StrReplace(a,@TAB,@CRLF))
exit
I get attachment 1 in attached docx.
If I do the DOS equivalent in a command windows, I get attachment 2.
Any idea why WinBatch is not seeing 2 of the files?
Thanks
Michael
Nothing too strange about it because very likely that you have encountered file redirection. Please read the following Tech. Database article:
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/64-bit+File~Redirection.txt (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/64-bit+File~Redirection.txt)
Pay special attention to the 'sysnative' discussion.