Windows Scripting
  Home arrow Windows Scripting arrow Page 3 - More Alternative Languages for WSH
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

More Alternative Languages for WSH
By: Nilpo
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-08-18

    Table of Contents:
  • More Alternative Languages for WSH
  • Object Rexx
  • KixStart
  • Ruby
  • Tips and Other Languages

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    More Alternative Languages for WSH - KixStart


    (Page 3 of 5 )

    KixStart is a free-format scripting language developed by Ruud van Velsen of Microsoft Netherlands. It is primarily used for writing network logon and logoff scripts, but has been highly extended to allow use for complete system administration scripting. There is also a very good GUI-driven development environment available for KixStart. Since WSH is so often used for logon and logoff scripts, I’ve decided to profile KixStart as my next WSH alternative.

    ScriptLogic has put together a very comprehensive set of documentation and samples for KixStart.

    With such thoroughly written documentation available, I’m going to keep my explanation of KixStart very brief, but I will give you a working example of the sample script that we’ve been using all along.

    $fso = CreateObject("Scripting.FileSystemObject")

    As you can see, the CreateObject method is used to connect to the FileSystemObject.

    $folder = $fso.GetFolder("C:temp")

    $files = $folder.Files

    You then use common object dot syntax to access properties and methods.

    For each $file in $folder

       ? $file.name

    next

    Finally, KixStart provides a For each structure for iterating through the elements of a collection.

    More Windows Scripting Articles
    More By Nilpo


       · WSH in not limited to Microsoft's VBScript or JScript languages. In fact, support...
     

    WINDOWS SCRIPTING ARTICLES

    - More Windows Scripting Workarounds from Nilpo
    - Overloading Methods and More in VBScript
    - Improving MFC for Windows Vista
    - Regular Expressions in VBScript
    - Working with Dates in WMI
    - Completing Calendars with VBScript Date Func...
    - Building Calendars with VBScript Date Functi...
    - Working With Dates and Times in VBScript
    - Designing WCF DataContract Classes Using the...
    - Understanding Dates and Times in VBScript
    - Working With Arrays in VBScript
    - Compressed Folders in WSH
    - Using .NET Interops in VBScript
    - Nilpo`s Scripting Secrets, Vol I
    - Database operations using Silverlight 2.0 WC...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT