PDFTranslate / docs /zh_TW /getting-started /USAGE_commandline.md
Ryuichi
Initial deployment
179eccc
|
Raw History Blame Contribute Delete
1.23 kB
[**開始使用**](./getting-started.md) > **如何使用** > **命令行** _(當前)_
---
### 透過命令行使用 PDFMathTranslate
#### 基本用法
安裝完成後,請輸入此命令以翻譯您的 PDF。
```bash
pdf2zh_next document.pdf
```
> [!NOTE]
>
> 如果您的路徑名稱包含空格,請將其用引號括起來。
>
> ```bash
> pdf2zh_next "path with spaces/document.pdf"
> ```
執行翻譯後,檔案會生成於 **當前工作目錄** 中。
> [!TIP]
> **我的「當前工作目錄」在哪裡?**
> 在終端機中輸入指令前,你可能會看到終端機中顯示一個路徑名稱:
>
> ```powershell
> PS C:\Users\XXX>
> ```
>
> 這個目錄就是「*當前工作目錄*」。
>
> 如果沒有顯示路徑名稱,可以嘗試在終端機中執行這個指令:
>
> ```bash
> pwd
> ```
>
> 執行這個指令後,會輸出一個路徑名稱。這個路徑名稱就是「**當前工作目錄**」。翻譯後的檔案會出現在這裡。
---
#### 高級使用
有關其他命令行參數的詳細說明,請參閱 [高級使用](./../advanced/advanced.md)。
<div align="right">
<h6><small>Some content on this page has been translated by GPT and may contain errors.</small></h6>