FileByteCount
FileByteCount["file"]
给出一个文件的字节数.
更多信息
- 可以通过字符串或 File 对象指定 FileByteCount 中文件的路径.
- 如果一个特定文件从一个计算机系统移到另一个计算机系统,由 FileByteCount 报告的文件中的字节数可能变化.
- FileByteCount 也可用于云对象.
技术笔记
-
▪
- 文件及目录操作
相关指南
-
▪
- 文件操作
历史
1991年引入 (2.0) | 在以下年份被更新:2016 (11.0)
文本
Wolfram Research (1991),FileByteCount,Wolfram 语言函数,https://reference.wolfram.com/language/ref/FileByteCount.html (更新于 2016 年).
CMS
Wolfram 语言. 1991. "FileByteCount." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2016. https://reference.wolfram.com/language/ref/FileByteCount.html.
APA
Wolfram 语言. (1991). FileByteCount. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/FileByteCount.html 年
BibTeX
@misc{reference.wolfram_2025_filebytecount, author="Wolfram Research", title="{FileByteCount}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/FileByteCount.html}", note=[Accessed: 14-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_filebytecount, organization={Wolfram Research}, title={FileByteCount}, year={2016}, url={https://reference.wolfram.com/language/ref/FileByteCount.html}, note=[Accessed: 14-April-2026]}