- Aug
- 2,260
- 108
I am using;
This is a new installation, on a new system.
I cannot get the @Script function to work for me. As an example;
does not result in anything, that is, the code does not execute.
It works fine when run as;
where the contents of filerun.vbs are;
Again, this is just an example.
None of my other @Script code works anymore.
On my previous Vista system, all of my @Script code worked.
Am I missing something simple?
Joe
Code:
TCC 20.00.25 x64 Windows 7 [Version 6.1.7601]
TCC Build 25 Windows 7 Build 7601 Service Pack 1
This is a new installation, on a new system.
I cannot get the @Script function to work for me. As an example;
Code:
echo %@script[vbscript,dim objShell:set objShell=CreateObject("shell.application"):objShell.FileRun:set objShell=nothing]
does not result in anything, that is, the code does not execute.
It works fine when run as;
Code:
cscript //nologo filerun.vbs
Code:
dim objShell:set objShell=CreateObject("shell.application"):objShell.FileRun:set objShell=nothing
Again, this is just an example.
None of my other @Script code works anymore.
On my previous Vista system, all of my @Script code worked.
Am I missing something simple?
Joe