Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limitation in the System.IO.FileInfo.get_Length()
Message
 
 
To
05/03/2010 00:50:28
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01452685
Message ID:
01452686
Views:
49
This message has been marked as a message which has helped to the initial question of the thread.
>I have found a limitation in the System.IO.FileInfo.get_Length(). If I use FileInfo to retrieve a list of files in a directory and there is a file name having more than 160 characters, I get:
>
>"Could not find file 'FileNameHere'."
>
>Has anyone found a way to go beyond that limit?

Are you sure it's 160 and not 260?

See http://www.berezniker.com/content/pages/visual-foxpro/windows-limitations-file-and-path-name
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform