Results 1 to 4 of 4

Thread: Windows Scripting Question

  1. #1

    Thumbs up Windows Scripting Question

    Ph3ar Networks

    I have a question about windows scripting. I found this book on my desk about an hour ago and it was all vbscript jscript ..... Windows scripting host, windows scripting etc. I've never considered this before but after reading a bit i'm a quite interested. my QUESTION is I'm using notepad and nowhere in this book does it say how to SAVE the file and by saving I mean what File extention should i use? I might have the totally wrong idea about this i'm writing this script in notepad.exe but do you any of you people have any tips or anything for me maybe an Editor? or any useful tips about this subject. thanks in advance.

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Save vbscript files as .VBS, and javascript as .JS.
    That way they'll be executable when you double click them

    As for editors, check the net for free "programming editors"
    They have syntax highlighting. Tell the editor what programming
    language you are writing, and it will will put certain keywords
    in different colors to help you keep your code better organized
    and formatted.
    I came in to the world with nothing. I still have most of it.

  3. #3


    THANK you thank you oh l33t one I was waiting for a reply so I get down to my scripting....... i've already cut my workload down by minutes ; )

  4. #4
    Ninja Code Monkey
    Join Date
    Nov 2001
    Washington State
    From there you may want to look into how COM works and how to script with it via wsh (windows script host - what you are currently using). There are usually some examples on your windows machine on how to use it to deal with active directory, iis, word, excel, etc. There are also some very good sites out there on the internet.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

Posting Permissions

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