1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

KIXTART VBS LOGON SCRIPT

Discussion in 'Scripting & Programming' started by amphtech, Apr 10, 2008.

  1. amphtech

    amphtech Bit Poster

    24
    0
    9
    Heres my VBS script i made
    Code:
    Set objShell = CreateObject("Wscript.Shell")
    objShell.Run "\\amphserver\dcscripts\kixstart\kix32" 
    It Works but i would like KIXTART to finish loading before explorer starts.
    bWaitOnReturn i have tryed but cant get to work, unless im am typing it incorrectly? :rolleyes:
    If you can see the problem please reply and correct it.
    Thanks Wade.:)
     
    WIP: MCSE, MCSA, MCP
  2. Gordon Morfitt

    Gordon Morfitt New Member

    1
    0
    1
    Hi,

    I use this and it waits until the winzip application has completed unzipping the file before importing the data.

    Dim oShell
    Dim WinZipIt

    Set oShell = WScript.CreateObject("WScript.Shell")
    WinZipIt = oShell.run("winzip -e \\ukcambas09\E$\RaiseOnline\Data\RISP3\Receive\OfstedExportFull.zip \\ukcambas09\E$\RaiseOnline\Data\RISP3\Receive" , 10, true)

    >>oShell.Popup "File has been unzipped"

    Set oShell = Nothing
    Set WinZipIt = Nothing

    Hope this does what you need, if you already have the answer then just ignore this.

    Gordon
     

Share This Page

Loading...