Sign in to follow this  
Followers 0
Dalarn

How to check if script service....

9 posts in this topic

#1 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites



Well, I believe I speak for everyone when I say that you shouldn't be allowed to send "anonymous" emails to anyone. I think you have already thrown that option down the toilet. But maybe it's just me. If you want to learn about "illegal" services look on a hacking website.


-I am the giver of life and the bringer of death.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites

use NPOP from www.nakka.com it fits in a floppy and you could run it on xp,98,2000

carry the floppy with you and check your email by popping it on any computer.

now if you just want to know if wsh is working on 98

1. you know that a script will run if the extension is *.vbs

2. for the rest of the explanation I have a link www..... wait you dont want links

3. now wait for some one to retype the explanation for you

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites

look for cscript.exe and/or wscript.exe normally installed in same directory as cmd.exe (@COMSPEC or %COMSPEC% leads You there.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

$ExitCode = RunWait(@ComSpec & ' /c FTYPE | FIND /I "WScript.exe" > NUL', @SystemDir, @SW_HIDE)
If $ExitCode = 0 Then
  MsgBox(64, "Test", "WScript is enabled!")
Else
  MsgBox(64, "Test", "WScript is disabled!")
EndIf

Edited by SlimShady

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites

On my systems i have mapped *.vbs to notepad, but an FTYPE-line for VBSFile also exists. But starting via shell command always opens *.vbs files with notepad.

So the only safe way to start a vbs script seems to be running it directly with either cscript.exe or wscript.exe.

e.g. > cscript script.vbs

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0