#139769 - 2005-05-16 11:30 PM
Re: Unexpected behavior in DIR() in v4.22
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Jim,
Tried the following bit of code and it works fine. Code:
cls break on ?@kix $FileName = Dir("C:\!chkout\*.xml*") While $FileName <> "" and @ERROR = 0 ? $FileName $FileName = Dir() ; retrieve next file Loop get $
And.. Get the following results:
Quote:
4.22 test(1).xml_1 test.xml
4.50 Release Candidate 1 test(1).xml_1 test.xml
HTH,
Kent
|
|
Top
|
|
|
|
#139771 - 2005-05-16 11:42 PM
Re: Unexpected behavior in DIR() in v4.22
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I take out the second * and it works fine in both versions.
Guess we'll have to wait until Jim gets back
Kent
|
|
Top
|
|
|
|
#139781 - 2005-05-17 12:28 PM
Re: Unexpected behavior in DIR() in v4.22
|
Ruud van Velsen
Developer
   
Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
|
This behaviour is determined by the Win95TruncatedExtensions registry setting.
More details can be found in: http://www.microsoft.com/technet/prodtec...363d823f17.mspx
Regards,
Ruud
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1452 anonymous users online.
|
|
|