Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Start a VBS script from within one

51 views
Skip to first unread message

R.Wieser

unread,
Mar 24, 2013, 11:28:53 AM3/24/13
to
Hello all,

Currently I've got a batchfile which calls a number of VBScripts using
CSCRIPT. All the called VBScripts therefore echo their output into that one
console window.

What I like to do is to do the very same, but replacing the batchfile with a
"parent" VBScript.

The thing is, although there are several ways to do it (run, shell,
execute,etc) either the called script is dependand on its parent (sharing
variables with it), or a seperate command.com/cmd.com window is opened
(meaning the initial console does not get the scripts output anymore).

My question therefore is: is there a method which will start a VBScript as a
seperate process, but within the same command-console process the parent is
in.

Remark: I am not looking for convoluted ways (using intermediate files or
the like), as in that case I will just stick with the batchfile method
('cause its easy and stable).

Regards,
Rudy Wieser



X22degg5

unread,
Mar 25, 2013, 10:13:53 PM3/25/13
to

"R.Wieser" <add...@not.available> wrote in message
news:514f1b91$0$6840$e4fe...@news2.news.xs4all.nl...
> Hello all,
>
>
> My question therefore is: is there a method which will start a VBScript as
> a
> seperate process, but within the same command-console process the parent
> is
> in.
>
It is not a simple script, but the "Threadforker" is an important script in
my toolbox.

I don't see a link to the original, but here is a link to a script derived
from Threadforker
http://www.mpsge.org/runjobs/
This appears to be for a CPU intensive project.

This might be the original
http://www.vbforums.com/showthread.php?489560-Threading-in-ASP

HTH


R.Wieser

unread,
Mar 26, 2013, 7:14:17 AM3/26/13
to
Hello X22degg5,

Thanks for the reference. Yes, the Exec command would be, with some effort
(needing a wrapper to retrieve stdout and display it again in the current
console), usable on XP-and-above machines.

Alas, I've also got a W98se machine here on which I would like to run the
same, and it doesn't seem to know anything about that command. :-\

In other words: while I will definitily keep the Exec command in mind I will
still be looking for a (simple) solution which will work on both machines.

Regards,
Rudy Wieser


-- Origional message:
X22degg5 <inv...@invalid.invalid> schreef in berichtnieuws
tw74t.223563$1m3....@en-nntp-03.dc1.easynews.com...

Todd Vargo

unread,
Mar 27, 2013, 12:57:08 AM3/27/13
to
On 3/26/2013 7:14 AM, R.Wieser wrote:
> Hello X22degg5,
>
> Thanks for the reference. Yes, the Exec command would be, with some effort
> (needing a wrapper to retrieve stdout and display it again in the current
> console), usable on XP-and-above machines.
>
> Alas, I've also got a W98se machine here on which I would like to run the
> same, and it doesn't seem to know anything about that command. :-\
>
> In other words: while I will definitily keep the Exec command in mind I will
> still be looking for a (simple) solution which will work on both machines.

Check your WSH version. You may need to update to 5.6 version.

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

R.Wieser

unread,
Mar 27, 2013, 5:30:28 AM3/27/13
to
Hello Todd,

> Check your WSH version. You may need to update to 5.6 version.

There still is such an update available for W98se ? I thought its support
has been dropped a long time ago.

Maybe I should just try to copy an XP version back to W98se and see if it
works. Hmmm...

Regards,
Rudy Wieser


-- Origional message:
Todd Vargo <tlv...@sbcglobal.netz> schreef in berichtnieuws
kitu6o$nv7$2...@news.albasani.net...

Todd Vargo

unread,
Mar 27, 2013, 9:59:15 AM3/27/13
to
On 3/27/2013 5:30 AM, R.Wieser wrote:
> Hello Todd,
>
>> Check your WSH version. You may need to update to 5.6 version.
>
> There still is such an update available for W98se ? I thought its support
> has been dropped a long time ago.
>
> Maybe I should just try to copy an XP version back to W98se and see if it
> works. Hmmm...

I did some digging in my Win9x archives and found that I still have a
copy of the scr56en.exe install file. It is 680,408 bytes and I last
downloaded it in 2006.

R.Wieser

unread,
Mar 27, 2013, 1:49:35 PM3/27/13
to
Hello Todd,

> I did some digging in my Win9x archives and found that I still have a
> copy of the scr56en.exe install file. It is 680,408 bytes and I last
> downloaded it in 2006.

I tried to find the same package on MS own website and found

http://support.microsoft.com/kb/303107

Alas, following that link glands me on some a default page :

http://www.microsoft.com/en-us/download/default.aspx

So, any chance you can make yours available to me ?

Regards,
Rudy Wieser


-- Origional message:
Todd Vargo <tlv...@sbcglobal.netz> schreef in berichtnieuws
kiutv4$e81$1...@news.albasani.net...

Todd Vargo

unread,
Mar 27, 2013, 5:12:11 PM3/27/13
to
On 3/27/2013 1:49 PM, R.Wieser wrote:
> Hello Todd,
>
>> I did some digging in my Win9x archives and found that I still have a
>> copy of the scr56en.exe install file. It is 680,408 bytes and I last
>> downloaded it in 2006.
>
> I tried to find the same package on MS own website and found
>
> http://support.microsoft.com/kb/303107
>
> Alas, following that link glands me on some a default page :
>
> http://www.microsoft.com/en-us/download/default.aspx
>
> So, any chance you can make yours available to me ?

Shoot me a valid email.

Tom Del Rosso

unread,
May 28, 2013, 6:33:49 PM5/28/13
to

Todd Vargo wrote:
> On 3/27/2013 5:30 AM, R.Wieser wrote:
> > Hello Todd,
> >
> > > Check your WSH version. You may need to update to 5.6 version.
> >
> > There still is such an update available for W98se ? I thought its
> > support has been dropped a long time ago.
> >
> > Maybe I should just try to copy an XP version back to W98se and see
> > if it works. Hmmm...
>
> I did some digging in my Win9x archives and found that I still have a
> copy of the scr56en.exe install file. It is 680,408 bytes and I last
> downloaded it in 2006.

oldversion.com doesn't have it, and they accept uploads....


--

Reply in group, but if emailing remove the last word.


R.Wieser

unread,
May 29, 2013, 5:42:13 AM5/29/13
to
Tom,

> oldversion.com doesn't have it, and they accept uploads....

Please remember that most all MS software is copyrighted.

Any site allowing downloads of such software (even though its effectivily
orphaned) could get it into some very bad legal weather because of the
current IP laws ...

In other words: If anyone would upload it they will probably (have to)
directly remove it.

Also, the uploader of such copyrighted software would most likely violate
the copright laws of his own country ...

Regards,
Rudy Wieser


-- Origional message:
Tom Del Rosso <tom...@verizon.net.invalid> schreef in berichtnieuws
ko3b6d$nbi$1...@dont-email.me...
0 new messages