Re: VB script skelleton
From: Ed Stuart (the.loquitur_at_gmail.com)
Date: 10/28/04
- Next message: William Robertson: "Count Physical Processors: Exclude Hyperthreading..?"
- Previous message: Roland Hall: "Re: Problem with makecert.exe"
- In reply to: Michael Harris \(MVP\): "Re: VB script skelleton"
- Next in thread: Ulf Dornheck Busscher: "Re: VB script skelleton"
- Reply: Ulf Dornheck Busscher: "Re: VB script skelleton"
- Messages sorted by: [ date ] [ thread ]
Date: 28 Oct 2004 01:05:59 -0700
O.K. I used NotePad to create the file test.vbe with the contents:
set shell = createobject("wscript.shell")
shell.run """c:\Program Files\Gtray\GTray.exe"""
shell.run """c:\Program Files\Mozilla Firefox\Firefox.exe"""
and I executed the file with the command line
wscript test.vbe
but nothing happened. I'm sure that I'm almost there. What did I do wrong?
Thanx,
Ed
"Michael Harris \(MVP\)" <mikhar at mvps dot org> wrote in message news:<uR7eHEIvEHA.3152@TK2MSFTNGP14.phx.gbl>...
> > 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"""
- Next message: William Robertson: "Count Physical Processors: Exclude Hyperthreading..?"
- Previous message: Roland Hall: "Re: Problem with makecert.exe"
- In reply to: Michael Harris \(MVP\): "Re: VB script skelleton"
- Next in thread: Ulf Dornheck Busscher: "Re: VB script skelleton"
- Reply: Ulf Dornheck Busscher: "Re: VB script skelleton"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|