Results 1 to 2 of 2

Thread: VBscript for window

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    11


    เจ้า vbs นี่เคยฮิตมากอยู่ช่วงหนึ่ง ถึงแม้ตอนนี้มันจะไม่ค่อย ฮอตเท่าเมื่อก่อน แต่ก็ยังมีพวก System administrators, System Engineers หรือคนที่สนใจเกี่ยวกับมันยังคงใช้กันอยู่

    ทำไมยังมีคนใจอยุ่น่ะหรือ เพราะว่ามัน มีประโยชน์อยู่น่ะซิ เหอๆ
    ยกตัวอย่างเช่น ถ้าคุณต้องการจะ map drive ให้เครื่องหลายเครื่อง คุณจะทำยังไง มีหลายคำตอบน่ะ อาจจะทำจาก batch file หรือ สั่ง command prompt ก็ได้ แต่วิธีที่นิยม กัน ก็คือ การเขียน vbs นี่เอง
    และคุณจะต้องยิ่งตกใจ ไปอีก เพราะ โค๊ดมันสั้นมาก แค่สองบรรทัด เท่านั้นเอง

    **Hidden Content: To see this hidden content your post count must be 2 or greater.**


    ง่ายไหมครับ ไม่น่าเชื่อ เลย สองบรรทัด map drive ได้แย้ว

  2. #2
    Member
    Join Date
    Jul 2009
    Location
    BKK
    Posts
    36


    อีกวิธีการนึงนะครับ ที่ง่ายไม่แพ้กันเลย ซึ่งเป็นคำสั่งที่ใช้ใน dos ถ้าหากว่าอยากให้สะดวกสบาย ก็สามารถทำเป็น batch file ไว้ใช้ก็ได้นะครับ คำสั่งที่ใช้ก็คือ
    **Hidden Content: To see this hidden content your post count must be 10 or greater.**

Similar Threads

  1. VBScript Language Reference
    By frozenzombie in forum แนะความรู้ด้าน Programming ต่างๆ
    Replies: 0
    Last Post: 08-03-2009, 08:16 PM
  2. Replies: 0
    Last Post: 30-01-2009, 01:35 AM
  3. Winstructor: VBScript
    By SheLLniX in forum E-Book, Video หรือบทความทั่วไปด้าน Computer
    Replies: 0
    Last Post: 07-09-2008, 07:02 AM
  4. VBScript Programmers Reference
    By sarrkatty in forum E-Book, Video หรือบทความทั่วไปด้าน Computer
    Replies: 0
    Last Post: 04-12-2007, 12:37 PM
  5. การเขียนโค๊คเพื่อ เรียกใช้ คำสั่ง shell โดย vbscript
    By nant in forum ทิปหรือเคล็ดลับการคอมพิวเตอร์ต่างๆ
    Replies: 0
    Last Post: 11-10-2007, 05:48 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •