09-13-2011, 01:40 PM
Max dir() path length is same as max path length in Windows - 259 characters for files, 247 characters for folders.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
I used this code to test.
Macro Macro1554
What is your code that does not work?
Make sure that "Unicode" is checked in Options.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
I used this code to test.
Macro Macro1554
str s.expandpath("$desktop$\test\ąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąžžžžžžžžžž.txt")
;str s.expandpath("$desktop$\test\ččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččččč") ;;folder
;str s.expandpath("$desktop$\test\ą*")
;str s.expandpath("$desktop$\test\č*") ;;folder
out s.len ;;bytes: 490, 470
BSTR b=s; out b.len ;;characters: 259, 247
Dir d
out dir(s 2)What is your code that does not work?
Make sure that "Unicode" is checked in Options.
