none
Beginner at Scripting

    Question

  • Hi All,

    Would someone please help me with this,

    I tried following the instruction, but I do not know how to navigate to my test.vbs file in the command prompt ?

    Now just open a command window, navigate to the folder where you saved your file, and type this:

    Code

    cscript test.vbs


    https://technet.microsoft.com/en-us/scriptcenter/dd940112.aspx

    http://i1075.photobucket.com/albums/w428/Diozark/Cprompt_zpsff71cc4b.jpg

    http://i1075.photobucket.com/albums/w428/Diozark/desktoptestvbs_zpscf145f42.jpg

    Thank You

    Diozark

    Friday, February 06, 2015 4:45 PM

Answers

  • Hi All,

    Would someone please help me with this,

    I tried following the instruction, but I do not know how to navigate to my test.vbs file in the command prompt ?

    Now just open a command window, navigate to the folder where you saved your file, and type this:

    Code

    cscript test.vbs


    https://technet.microsoft.com/en-us/scriptcenter/dd940112.aspx

    http://i1075.photobucket.com/albums/w428/Diozark/Cprompt_zpsff71cc4b.jpg

    http://i1075.photobucket.com/albums/w428/Diozark/desktoptestvbs_zpscf145f42.jpg

    Thank You

    Diozark

    Never Mind, I figured it out. Searched Google and found this website.

    http://www.watchingthenet.com/how-to-navigate-through-folders-when-using-windows-command-prompt.html

    My Question now would be is there a page in Microsoft TechNet were I should be looking to find this info ?

    Thank You

    Diozark

    Friday, February 06, 2015 4:56 PM
  • Hi Diozark,

    >>My Question now would be is there a page in Microsoft TechNet were I should be looking to find this info ?

    Regarding this point, the following articles can be referred to for more information.

    Dir

    https://technet.microsoft.com/en-us/library/cc755121.aspx

    Cd

    https://technet.microsoft.com/en-us/library/cc731237.aspx

    In addition, if we encounter scripting questions, in order to get better assistance, it's recommended that we ask for advice in the following dedicated scripting forum.

    The Official Scripting Guys Forum

    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

    Best regards,

    Frank Shen


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, February 09, 2015 1:43 AM
    Moderator

All replies

  • Hi All,

    Would someone please help me with this,

    I tried following the instruction, but I do not know how to navigate to my test.vbs file in the command prompt ?

    Now just open a command window, navigate to the folder where you saved your file, and type this:

    Code

    cscript test.vbs


    https://technet.microsoft.com/en-us/scriptcenter/dd940112.aspx

    http://i1075.photobucket.com/albums/w428/Diozark/Cprompt_zpsff71cc4b.jpg

    http://i1075.photobucket.com/albums/w428/Diozark/desktoptestvbs_zpscf145f42.jpg

    Thank You

    Diozark

    Never Mind, I figured it out. Searched Google and found this website.

    http://www.watchingthenet.com/how-to-navigate-through-folders-when-using-windows-command-prompt.html

    My Question now would be is there a page in Microsoft TechNet were I should be looking to find this info ?

    Thank You

    Diozark

    Friday, February 06, 2015 4:56 PM
  • Hi Diozark,

    >>My Question now would be is there a page in Microsoft TechNet were I should be looking to find this info ?

    Regarding this point, the following articles can be referred to for more information.

    Dir

    https://technet.microsoft.com/en-us/library/cc755121.aspx

    Cd

    https://technet.microsoft.com/en-us/library/cc731237.aspx

    In addition, if we encounter scripting questions, in order to get better assistance, it's recommended that we ask for advice in the following dedicated scripting forum.

    The Official Scripting Guys Forum

    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

    Best regards,

    Frank Shen


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, February 09, 2015 1:43 AM
    Moderator