G
Geordie
As I said before, I can smell a rat. Let's try and nail this one
down. Please follow the instructions below ***verbatim***,
without deviating one bit!
1. Click Start / Run / cmd{OK}
This will give you a black Command Prompt screen.
2. Type these commands:
echo wscript.echo "Hello world" > c:\test.vbs{Enter}
%SystemRoot%\system32\cscript.exe c:\test.vbs{Enter}
3. Report what you see on the screen.
Hi,
Thanks for your help & patience.
These are the results.
Clicked Start..Run..typed cmd...OK
Black screen appeared with this. C:\Documents and Setting\Maurice>
I typed in. echo wscript.echo "Hello world" > c:\test.vbs then Enter
The screen then went to. C:\Documents and Setting\Maurice>
I then typed.%SystemRoot%\system32\cscript.exe c:\test.vbs then Enter
Screen reported this Microsoft <R> Windows Script Host Version 5.6
copyright <C> Microsoft Corp 1996-2001 all rights reserved.
Hello world
C:\Documents and Setting\Maurice>
What started this thread, I had a restore.vbs file which I got off Doug's
site,it has been on my PC for at least 2 years and has not been altered or
even moved,it used to work on numerous occasions until I upgraded to SP3
then I started to get the error message.I copied the file and tested it on
another PC the same as mine XP home SP3 and it worked fine.
I only used to double click the file and it would work,I don't understand
what I can be doing wrong with a simple double click.
Thanks