OT: Script question, Doug?
#41
Guest
Posts: n/a
Re: Script question, Doug?
DougW wrote:
> Carl S wrote:
>> Doug,
>>
>> I must not have something installed on my PC because it doesnt
>> seem to work for me, even if I copy and paste your code directly.
>
> It's not a .bat (batch file), save it as a .vbs file.
Heh.. forgot.
You call a .vbs from within a batch file by using
cscript //nologo <filename>.vbs
Running "cscript" in a dos window will give you all
the command lines.
--
DougW
> Carl S wrote:
>> Doug,
>>
>> I must not have something installed on my PC because it doesnt
>> seem to work for me, even if I copy and paste your code directly.
>
> It's not a .bat (batch file), save it as a .vbs file.
Heh.. forgot.
You call a .vbs from within a batch file by using
cscript //nologo <filename>.vbs
Running "cscript" in a dos window will give you all
the command lines.
--
DougW
#42
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#43
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#44
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#45
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
It works great! Thanks!
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#46
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#47
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#48
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
#49
Guest
Posts: n/a
Re: Script question, Doug?
Doug,
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>
You just made my day. Thanks a lot.
Carl
"DougW" <I.only.read.usenet@invalid.address> wrote in message
news:j1IFi.99089$Vk6.30954@newsfe07.phx...
> DougW wrote:
>> Carl S wrote:
>>> Doug,
>>>
>>> I must not have something installed on my PC because it doesnt
>>> seem to work for me, even if I copy and paste your code directly.
>>
>> It's not a .bat (batch file), save it as a .vbs file.
>
> Heh.. forgot.
>
> You call a .vbs from within a batch file by using
>
> cscript //nologo <filename>.vbs
>
> Running "cscript" in a dos window will give you all
> the command lines.
>
> --
> DougW
>