+ 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
    1,730
    Thank Post
    76
    Thanked 85 Times in 72 Posts
    Rep Power
    41

    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. IDG Tech News

  3. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    9,564
    Thank Post
    306
    Thanked 884 Times in 794 Posts
    Rep Power
    211

    Re: Need a script to run programs

    What scripting language would you like?

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

    Ben

  4. #3
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    1,730
    Thank Post
    76
    Thanked 85 Times in 72 Posts
    Rep Power
    41

    Re: Need a script to run programs

    am after vbs

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

    Re: Need a script to run programs

    For what scenario?
    At login?

  6. #5
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,430
    Thank Post
    79
    Thanked 90 Times in 86 Posts
    Rep Power
    32

    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

  7. #6
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    1,730
    Thank Post
    76
    Thanked 85 Times in 72 Posts
    Rep Power
    41

    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

  8. #7
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,810
    Thank Post
    89
    Thanked 212 Times in 195 Posts
    Rep Power
    83

    Re: Need a script to run programs

    Will a shortcut not do?

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

    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.

  10. #9
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,430
    Thank Post
    79
    Thanked 90 Times in 86 Posts
    Rep Power
    32

    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.

  11. #10

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    9,564
    Thank Post
    306
    Thanked 884 Times in 794 Posts
    Rep Power
    211

    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: 35
    Last Post: 19th July 2010, 07:05 PM
  2. Right Click All Programs
    By ricki in forum 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, 08:17 AM
  4. Disble programs at certain times
    By timbo343 in forum Windows
    Replies: 4
    Last Post: 29th March 2007, 11:32 AM
  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
  •