+ Post New Thread
Results 1 to 10 of 10
Scripts Thread, Need a script to run programs in Coding and Web Development; Does anyone know a script to run a exe? If so coul dyou post it on here. Thanks...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,153
    Thank Post
    319
    Thanked 310 Times in 216 Posts
    Rep Power
    124

    Need a script to run programs

    Does anyone know a script to run a exe? If so coul dyou post it on here.

    Thanks

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,615
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437

    Re: Need a script to run programs

    What scripting language would you like?

    http://weblogs.asp.net/steveschofiel.../14/89240.aspx

    Ben

  3. #3
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,153
    Thank Post
    319
    Thanked 310 Times in 216 Posts
    Rep Power
    124

    Re: Need a script to run programs

    am after vbs

  4. #4
    GlennT's Avatar
    Join Date
    Sep 2006
    Location
    Zummmerzet!
    Posts
    249
    Thank Post
    19
    Thanked 17 Times in 16 Posts
    Rep Power
    20

    Re: Need a script to run programs

    For what scenario?
    At login?

  5. #5
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Need a script to run programs

    Exactly what do you want the script to do.. a script to launch a program is easy enough:

    Code:
    dim commandLine, WshShell
       
    commandLine = "calc.exe"
       
    Set WshShell = CreateObject("WScript.Shell")
    call WshShell.Run (commandLine,8,true)
    set WshShell=nothing

  6. #6
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,153
    Thank Post
    319
    Thanked 310 Times in 216 Posts
    Rep Power
    124

    Re: Need a script to run programs

    just to run a program when you double click on the script, saves looking for a program in the servers. Ie, if we had to run round most computers and install a little patch as we dont install things via group policy here

  7. #7
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: Need a script to run programs

    Will a shortcut not do?

  8. #8
    GlennT's Avatar
    Join Date
    Sep 2006
    Location
    Zummmerzet!
    Posts
    249
    Thank Post
    19
    Thanked 17 Times in 16 Posts
    Rep Power
    20

    Re: Need a script to run programs

    If you have an "installer" account, add this to the login script...

    \\ServerName\Path\AppName.exe

    It should load automatically.

  9. #9
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Need a script to run programs

    Installing things manually... eek! Im sure you've already tried this but if the setup has a silent option, you could just set gp to run the setup when the compy boots up or you could create an msi and deploy that.

    If you want something you just want to double click you dont really need a vbscript to do that, a batch would do.

  10. #10

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,615
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437

    Re: Need a script to run programs

    Could you not run the patch remotely by using something like Xcmd.exe???

    Ben



SHARE:
+ Post New Thread

Similar Threads

  1. DVD playback - what programs are you using?
    By Halfmad in forum Windows
    Replies: 34
    Last Post: 19th July 2010, 08:05 PM
  2. Right Click All Programs
    By ricki in forum Wireless Networks
    Replies: 7
    Last Post: 25th November 2009, 03:05 PM
  3. startmenu programs
    By strawberry in forum Windows
    Replies: 4
    Last Post: 12th July 2007, 09:17 AM
  4. Disble programs at certain times
    By timbo343 in forum Windows
    Replies: 4
    Last Post: 29th March 2007, 12:32 PM
  5. Sorting Programs List by Name
    By Midget in forum Windows
    Replies: 17
    Last Post: 24th January 2007, 12:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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