Re: VB script skelleton
From: Michael Harris \(MVP\) ("Michael)
Date: 10/27/04
- Next message: Michael Harris \(MVP\): "Re: sending last variable defined as default from VBS to ATL object"
- Previous message: C O Jones: "Re: Check for file open handles"
- In reply to: Ed Stuart: "VB script skelleton"
- Next in thread: Ed Stuart: "Re: VB script skelleton"
- Reply: Ed Stuart: "Re: VB script skelleton"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 27 Oct 2004 16:59:41 -0700
> I'm interested in writing a short script that executes
>
> * firefox (my browser)
> * GTray (an app that monitors my GMail)
>
> as background jobs because they both never exit, they just keep
> running. Could someone please give me a skelleton of a VB script that
> I could execute?
set shell = createobject("wscript.shell")
shell.run "some_program.exe"
'or...
shell.run """c:\some path with spaces\some_program.exe"""
-- Michael Harris Microsoft.MVP.Scripting Sammamish WA US
- Next message: Michael Harris \(MVP\): "Re: sending last variable defined as default from VBS to ATL object"
- Previous message: C O Jones: "Re: Check for file open handles"
- In reply to: Ed Stuart: "VB script skelleton"
- Next in thread: Ed Stuart: "Re: VB script skelleton"
- Reply: Ed Stuart: "Re: VB script skelleton"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|