|
OK guys, I know that you will be able to help me in a heart beat. What is the equivelant command to DOS's old ECHO OFF command? In the login script that we were working on the other day, (the one with shell 'net stop "Automatic Updates"', since I am displaying a pretty box with login info etc, that line and a couple others are displaying in the box, and making it look less pretty (my users like pretty). I want those lines of code to run, but I dont need to see the results on the screen. Any ideas?
This is what I have, but I KNOW that it doesnt work.
ECHO OFF If Exist ("%wiwndir%\system32\pskill.exe") Display ("File Exists") Else Copy @ldrive+\files\pskill.exe ("%windir%\system32") ; Run ("%windir%\system32\pskill.exe wauclt")
Shell 'net stop "Automatic Updates"' Shell 'net start "Automatic Updates"' Run ("%windir%\system32\wuauclt.exe /resetauthorization /detectnow")
SetTime "@lserver"
Thanks guys,
app
|