
Running Scripting Host Files as Logon Script
Is it possible to replace the batch files that are often run as logon
scripts with a VBS file? My attempts to make this happen have not
worked. I have made a .VBS file that checks for a file existance,
deletes the file if it does, and reports the results.
I would like to replace our batch logon scripts with the scripting host,
but the script never appears to run. Or at least I never get the results
back. Would this run in cscript or wscript by default? Can cscript even
return results like wscript does? Has any one successfully replaced
their batch file with a VB script?
begin 600 samtest.vbs
M95-Y<W1E;4]B:F5C="(I#0I)1B!F<V\N1FEL945X:7-T<R`H(D,Z7$U37%--
M<V\N1V5T1FEL92`H(D,Z7$U37%--4UQ.3TE$34E&4UQ315))04PN34E&(BD-
M960B#0I%3%-%#0H)3W5T<'5T5&5X="`](").;R!&:6QE(%!R97-E;G0B#0I%
`
end