Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2003
    Location
    California
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question VBS replacing batch files..and more

    Today I was looking on amazon for books on batch files, I found that most were out of print and the only one that showed up was the microsoft windows 2000 scripting guide..

    ----
    Windows Script:
    Windows Script is a comprehensive scripting infrastructure for the Microsoft Windows platform. Windows Script provides two script engines, Visual Basic Scripting Edition and Microsoft JScript, which can be embedded into Windows Applications. It also provides an extensive array of supporting technologies that makes it easier for script users to script Windows applications.
    ---

    Is Jscript microsofts version on javascript?...
    if vbs and jscript can be embedded in windows applications..does that mean that the windows OS family is written in some form of Visual Basic or Jscript?..

    (i'm at school right now) but i'll check my O'reilly's VBscript book on windows scripting, but i dont think it talks about it much or not at all. does anyone know of some good VBscript books with a strong emphasis on windows scripting?... thank you

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    JScript is the Microsoft excuse for a JavaScript engine, yeah. I don't know about books, but you can find resources on the topic here:
    <http://msdn.microsoft.com/library/de...chnologies.asp>

    And no, Windows is not built on them. They are just regular scripting languages that can be used through the windows scripting host. And I'd say they are far more powerful than batch files in DOS ever was.

    (Batch files have changed little since then, though. CMD files might be more interesting, since they are made for the NT command.com replacement.)
    Last edited by liorean; 01-27-2004 at 09:12 PM.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    Regular Coder
    Join Date
    Jun 2003
    Location
    California
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question more on dos and ms-dos ver 4

    About msdos..when I type "help" it comes up with a list of commands however some of them are not there, like telnet and netstat, and i am sure there are more of them..but how can I use commands in msdos that it does not even recognise?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    UK
    Posts
    1,137
    Thanks
    0
    Thanked 0 Times in 0 Posts
    google it for msdos commands. This may be of use to you:

    Code:
    Dim message As String
    message = "@ECHO OFF"
    Open "C:\mntest.bat" For Output As #1
    Print #1, message
    Print #1, "hello this is a test"
    Close #1
    
    Shell "C:\mntest.bat", vbNormalFocus

    scroots
    Spammers next time you spam me consider the implications:
    (1) that you will be persuaded by me(in a legitimate mannor)
    (2)It is worthless to you, when i have finished


  •  

    Posting Permissions

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