Hello,
when I have two (or more) files, the first with a blank in its name, in a folder with blanks in its name, everything works fine, when I try to pass them out:
Example
C:\Test Folder\Test 1.txt
C:\Test Folder\Test_2.txt
Output:
Argument 1 => C:\Test Folder\Test 1.txt
Argument 2 => C:\Test Folder\Test_2.txt
When the folder does not includes blanks in its name, then the two files are not separated with a blank. Therefore I get only one Argument.
Example
C:\TestFolder\Test 1.txt
C:\TestFolder\Test_2.txt
Output:
Argument 1 => C:\TestFolder\Test 1.txtC:\TestFolder\Test_2.txt
If both files includes blanks in their names, everything works fine.
If the second file includes blanks in its name, everything works fine.
Crazy
Conclusion:
If there a more then one file in {allfilepath}, and the path (without the filename) does not include blanks, all files with no blanks in their names, that will follow after one with blanks in its name, are not separated with blanks -> they appear as one argument!