both provided solutions doesn't as a computer startup script.
tested situation:
policy - windows settings - scripts - startup > hostname.bat
contents of hostname.bat are: kix32.exe hostname.kix

seems that the kix isn't running at computer startup.
when using a bat script like this then it worked, but i get the fulle computername and my goal was to try only display a part of the computername.
 Code:
If Exist %WINDIR%\BGInfo.bmp Del %WINDIR%\BGInfo.bmp
\\server\netlogon\bginfo\Bginfo.exe /timer:0 /silent /NOLICPROMPT \\server\NetLogon\bginfo\hostname.bgi


anyone knows a batch script to do this?
or maybe vbs, i thought vbs will run directly without calling it from a batch file.

thanks




Edited by arjanv (2012-01-27 10:42 AM)