CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 1999
    Posts
    5

    Running VBScript On Comand Line

    Hi

    Can anyone help me I am trying to run a VB Script from the command line . Thanks



    Jeffrey Safier

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Running VBScript On Comand Line

    what's your problem? Do you have Windows Script Host installed?


  3. #3
    Join Date
    Jul 1999
    Posts
    5

    Re: Running VBScript On Comand Line

    I really dont know, what is it under, Would it be on the Visual studio disk, how could i get it, and once i have it is there a way to run off a command line

    Jeffrey Safier

  4. #4
    Join Date
    May 1999
    Posts
    3,332

    Re: Running VBScript On Comand Line

    in order to run VBScripts from the command line you need windows script host AFAIK.
    You can download it from the MS site (AFAIK there is a Beta 2 of the new release out there).

    It is also part of NT option pack 4.

    To start your VBScript files run CScript.exe (for console apps) or WScript.exe (for windows...).

    If WSH is installed .VBS and .JS files should already be associated with WScript.exe.


  5. #5
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    A bit of knowledge from past

    ;-)

    Merry ChristMas and a Happy New Year

    Cesare


    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured