是否有解决 Windows Mobile 5 目录中 1,000 个文件限制的解决方法?

发布于 2024-08-16 09:13:34 字数 189 浏览 4 评论 0原文

我需要将 1,000 多个文件下载到位于存储卡上的 Windows Mobile 5 目录中。如果我通过桌面将文件复制到存储卡上,就没有问题。但是,当我尝试从手持设备下载文件时,我收到磁盘已满错误,尽管由于 1,000 个文件限制而有足够的空间。

有没有人遇到过这个问题并找到解决方法?我将尝试压缩所有文件,然后在设备上解压缩,但不确定这是否有效。

I need to download more than 1,000 files into a windows mobile 5 directory located on the storage card. If i copy the files onto the storage card via my desktop there is no problem. But when i try to download the files from the handheld device I get a disk full error, even though there is plenty of room due to the 1,000 file limit.

Has anyone run into this and found a workaround? I'm going to try zipping all of the files then decompressing on the device but not sure that this will work.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

旧瑾黎汐 2024-08-23 09:13:34

分成多个目录?

Split it into multiple directories?

执着的年纪 2024-08-23 09:13:34

创建更多目录并在每个目录中放置少于 1000 个文件。

Create more directories and put less than 1000 files in each.

櫻之舞 2024-08-23 09:13:34

Windows mobile 6.X 中也有 999 个文件限制。但是,这只适用于使用长文件名的情况。如果您坚持使用 8.3 文件名格式(8 个字符的名称和 3 个字符的扩展名),那么您可以在同一目录中拥有数千个文件而不会出现问题。

几年前我遇到了这个问题,我的应用程序通常会在每个目录中写入 3000 到 4000 个具有 8.3 文件格式名称的文件。

我从未见过 Microsoft 或其他任何人记录的每个目录 999 个文件问题。

There is a 999 file limit in Windows mobile 6.X as well. However this only applies if you use long file names. If you stick with the 8.3 file name format (8 char name with 3 char extension) then you can have many thousands of files in the same directory without issue.

I bumped into this problem a few years back and my app routinely writes 3000 to 4000 file per directory with 8.3 file format names.

I have never seen the 999 files per directory issue documented by Microsoft or anybody else.

天生の放荡 2024-08-23 09:13:34

这是基于 Windows CE 的系统的限制:

用于 Pocket PC 的 Windows Mobile 2003、用于智能手机的 Windows Mobile 2003、
Windows CE平台注意:Windows CE不能存储超过999个文件
当文件共享相同的短文件名时(即,
八个字符的名称、句点 (.) 和 3 个字符的扩展名)。这
解决方法是确保短文件名不同。为了
例如,如果文件名为 Longfilename0001.txt 通过
Longfilename1000.txt,将数字放在文件开头
名称而不是末尾。

https://msdn.microsoft。 com/ru-ru/library/system.io.filemode(v=vs.85).aspx

因此,如果您不想拆分到不同的文件夹,则应该以数字开头文件名以避免此限制。这就是 Tary 在 8.3 文件名上取得成功的原因,它们足够短。

This is a limitation of Windows CE based sytems:

Windows Mobile 2003 for Pocket PC, Windows Mobile 2003 for Smartphone,
Windows CE Platform Note: Windows CE cannot store more than 999 files
in a directory when the files share the same short file name (that is,
the eight-character name, period (.), and 3-character extension). The
workaround is to ensure that the short file names are different. For
example, if the files are named Longfilename0001.txt through
Longfilename1000.txt, place the number at the beginning of the file
name instead of at the end.

https://msdn.microsoft.com/ru-ru/library/system.io.filemode(v=vs.85).aspx

So if you do not want to split to different folders, you should start the filename with the number to avoid this limitation. That is why Tary had success with 8.3 filenames, they were short enough.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文