ดาวน์โหลดบทความดาวน์โหลดบทความ

บทความวิกิฮาวนี้จะแนะนำวิธีการเปิดไฟล์ batch (.BAT) ด้วย command line ของ Windows ให้คุณเอง ปกติคุณเปิดโปรแกรมได้จากในหน้าต่าง “Run” หรือโดยพิมพ์คำสั่งในหน้าต่าง terminal

วิธีการ 1
วิธีการ 1 ของ 2:

ใช้ Run

ดาวน์โหลดบทความ
  1. How.com.vn ไท: Step 1 กด ⊞ Win+R.
    เพื่อเปิดหน้าต่าง Run
  2. How.com.vn ไท: Step 2 คลิก Browse….
  3. How.com.vn ไท: Step 3 ไปยังโฟลเดอร์ที่มีไฟล์ batch.
  4. How.com.vn ไท: Step 4 คลิกไฟล์ batch เพื่อเลือก.
    ไฟล์นั้นจะถูกเน้น แปลว่าเลือกแล้ว
  5. How.com.vn ไท: Step 5 คลิก Open.
    เพื่อ paste path ของไฟล์ batch แบบเต็มๆ ในหน้าต่าง Run
  6. How.com.vn ไท: Step 6 คลิก OK.
    เพื่อเปิดให้ไฟล์ batch ทำงาน จากในหน้าต่าง terminal เสร็จแล้วจะมีบรรทัดใหม่โผล่มาท้ายหน้าต่าง เขียนว่า “Press any key to continue”
  7. How.com.vn ไท: Step 7 กดปุ่มไหนก็ได้.
    เพื่อปิดหน้าต่าง terminal หลังใช้คำสั่งเสร็จ
    โฆษณา
วิธีการ 2
วิธีการ 2 ของ 2:

ใช้หน้าต่าง Terminal

ดาวน์โหลดบทความ
  1. How.com.vn ไท: Step 1 คลิกเมนู icon.
    ปกติจะอยู่มุมซ้ายล่างของหน้าจอ
  2. How.com.vn ไท: Step 2 พิมพ์ cmd ในแถบค้นหา.
    จะมีรายการผลลัพธ์ที่ตรงกันโผล่มา
  3. How.com.vn ไท: Step 3 คลิกขวาที่ Command Prompt.
    เพื่อขยายเมนูลงมา
  4. How.com.vn ไท: Step 4 คลิก Run as Administrator.
    จะมีข้อความยืนยันโผล่มา
  5. How.com.vn ไท: Step 5 คลิก Yes.
    เพื่อเปิด command line ในระดับที่สูงกว่า (ระดับแอดมิน (administrator))
  6. How.com.vn ไท: Step 6 พิมพ์ cd ตามด้วย path เต็มของโฟลเดอร์ที่มีไฟล์ .BAT
    . เช่น
    • ถ้าไฟล์ batch อยู่ในหน้า desktop ให้พิมพ์ cd \Users\YourLoginName\Desktop
    • ถ้าอยู่ในโฟลเดอร์ downloads ให้พิมพ์ cd \Users\YourLoginName\Downloads
    • ถ้าไม่รู้ชื่อ login ให้พิมพ์ cd \Users แล้วกด Enter เพื่อไปยังโฟลเดอร์ Users แล้วพิมพ์ dir จากนั้นกด Enter เพื่อดูรายชื่อ login
  7. How.com.vn ไท: Step 7 กด ↵ Enter.
    เพื่อย้ายไปใน directory
  8. How.com.vn ไท: Step 8 พิมพ์ชื่อไฟล์ batch.
    เช่น ถ้าไฟล์ชื่อ “program.bat” ให้พิมพ์ program.bat
    • ถ้าไม่รู้ชื่อ ให้พิมพ์ dir แล้วกด Enter เพื่อดูไฟล์ในโฟลเดอร์ จะเจออยู่ในนั้น
  9. How.com.vn ไท: Step 9 กด ↵ Enter.
    เพื่อเปิดไฟล์ batch
    โฆษณา

บทความวิกิฮาวอื่น ๆ ที่่เกี่ยวข้อง

เกี่ยวกับวิกิฮาวนี้

How.com.vn ไท: ทีมงานวิกิฮาว
ร่วมเขียน โดย:
นักเขียนในทีมวิกิฮาว
บทความนี้ร่วมเขียนโดยเหล่าบรรณาธิการและนักวิจัยที่ผ่านการฝึกฝนมาเพื่อความถูกต้องและครอบคลุมของเนื้อหา

ทีมผู้จัดการด้านเนื้อหาของวิกิฮาว จะตรวจตราผลงานจากทีมงานด้านเนื้อหาของเราเพื่อความมั่นใจว่าบทความทุกชิ้นได้มาตรฐานตามที่เราตั้งไว้ บทความนี้ถูกเข้าชม 13,771 ครั้ง
มีการเข้าถึงหน้านี้ 13,771 ครั้ง

บทความนี้เป็นประโยชน์กับคุณไหม

⚠️ Disclaimer:

Content from Wiki How ไท language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

Notices:
  • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
  • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
  • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
  • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

โฆษณา