Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

[檔案大小] 功能變數會使用 [內容] 對話框中 [一般] 索引標籤中的資訊,以位元組插入檔的大小。 若要檢視 [ 內容 ] 對話框,請按兩下 [篩選] 索引標籤,再按兩下 [資訊], 下右側) 檔預覽下方的 [ 內容 (],然後按兩下 [ 進階內容]

語法

當您在檔案中檢視 [檔案大小] 域代碼時,語法看起來像這樣:

{ FILESIZE [Switches ] }

附註: 功能變數代碼會指示功能變數該顯示的內容。 功能變數結果是指評估功能變數代碼之後,顯示在文件中的內容。 若要切換檢視功能變數代碼和功能變數代碼結果,請按 Alt+F9。

選項

\K

將結果四捨五入 (K) 四捨五入至最接近的整數。

\m

將結果四捨五入 (MB) 四捨五入至最接近的整數。

範例

欄位

結果會 (2,084,228 位元組的檔)

{ FILESIZE \k }K

{ FILESIZE \m } MB

2084K

2 MB

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×