Browse Source

cd, cmd, dir: add Thai translation (#6811)

* cd, cmd, dir: add Thai translation

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Borworntat Dendumrongkul <64594596+MasterIceZ@users.noreply.github.com>
Co-authored-by: Nutthapat Pongtanyavichai <59821765+Leomotors@users.noreply.github.com>
Wirawat.B 1 year ago
parent
commit
9a007ea29e
3 changed files with 80 additions and 0 deletions
  1. 24 0
      pages.th/window/cd.md
  2. 36 0
      pages.th/window/cmd.md
  3. 20 0
      pages.th/window/dir.md

+ 24 - 0
pages.th/window/cd.md

@@ -0,0 +1,24 @@
+# cd
+
+> แสดงชื่อหรือเปลี่ยนไดเร็กทอรีการทำงานปัจจุบัน
+> ข้อมูลเพิ่มเติม: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd>
+
+- แสดงชื่อของไดเร็กทอรีปัจจุบัน:
+
+`cd`
+
+- ไปที่รูทของไดรฟ์ปัจจุบัน:
+
+`cd \`
+
+- ไปที่ไดเร็กทอรีในไดรฟ์เดียวกัน:
+
+`cd {{ทาง\ไป\สารบบ}}`
+
+- ไปที่พาเรนต์ของไดเร็กทอรีปัจจุบัน:
+
+`cd ..`
+
+- ไปที่ไดเร็กทอรีที่อยู่ต่างไดรฟ์:
+
+`cd {{ทาง\ไป\สารบบ}} /d`

+ 36 - 0
pages.th/window/cmd.md

@@ -0,0 +1,36 @@
+# cmd
+
+> ตัวแปลคำสั่งของ Windows
+> ข้อมูลเพิ่มเติม: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cmd>
+
+- เริ่มเซสชันเชลล์แบบโต้ตอบ:
+
+`cmd`
+
+- รันคำสั่งที่ระบุแล้วปิด ([c]ommand):
+
+`cmd /c "{{echo Hello world}}"`
+
+- ดำเนินการสคริปต์เฉพาะ:
+
+`cmd {{เส้นทาง\ไปยัง\สคริปต์}}`
+
+- ดำเนินการคำสั่งเฉพาะแล้วป้อนเชลล์แบบโต้ตอบ:
+
+`cmd /k "{{echo Hello world}}"`
+
+- เริ่มเซสชันเชลล์แบบโต้ตอบโดยที่ 'echo' ถูกปิดใช้งานในเอาต์พุตคำสั่ง:
+
+`cmd /q`
+
+- เริ่มเซสชันเชลล์แบบโต้ตอบโดยเปิดใช้งานหรือปิดใช้งานการขยาย [v]ariable ที่ล่าช้า:
+
+`cmd /v:{{on|off}}`
+
+- เริ่มเซสชันเชลล์แบบโต้ตอบด้วยคำสั่ง [e]xtensions ที่เปิดใช้งานหรือปิดใช้งาน:
+
+`cmd /e:{{on|off}}`
+
+- บังคับให้เอาต์พุตใช้การเข้ารหัส [u]nicode:
+
+`cmd /u`

+ 20 - 0
pages.th/window/dir.md

@@ -0,0 +1,20 @@
+# dir
+
+> แสดงรายการเนื้อหาไดเรกทอรี
+> ข้อมูลเพิ่มเติม: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/dir>
+
+- แสดงเนื้อหาของไดเร็กทอรีปัจจุบัน:
+
+`dir`
+
+- แสดงเนื้อหาของไดเร็กทอรีปัจจุบัน:
+
+`dir {{ทาง\ไป\สารบบ}}`
+
+- แสดงเนื้อหาของไดเร็กทอรีปัจจุบัน, รวมถึงรายการที่ซ่อนอยู่:
+
+`dir /A`
+
+- แสดงเนื้อหาของไดเร็กทอรีที่กำหนด, รวมถึงรายการที่ซ่อนอยู่:
+
+`dir {{ทาง\ไป\สารบบ}} /A`