K2000 - script ASCII art while in KBE?
I know this is a stupid question, but my buddy at work was thinking to add some cool ascii art to display as a mid-level task after it has imaged, before it copies over all the scripts. Any idea how to go about this? I made a batch file with the @ECHO OFF with all the ascii art, followed by a ping 127.0.0.1 -n 10....but it shows every ping command (is @ECHO OFF not recognized in WinPE?)
Any ideas? I know it's not vital, but we thought it would be nice to have a cool ascii art display during the mid-level task section :)
Answers (2)
You'll want to tell the results to go to nul, that way it wont display them. The code below works for me in a .bat in KBE, and keeps the pings hidden until they're done running.
@echo off
cls
echo.
echo _,_
echo _,-' `-,_
echo _,-' `-,_
echo ,-' `-,
echo ^|-,_ _,-^|
echo ^| '-,_ _,-' ^|
echo ^| ^|^| '-,_ _,-' ^|
echo ^| ^|^| // ^| ^|
echo ^| ^|^|:// ^| ^|
echo ^| ^|^| \\ ^| ^|
echo `-,_ \\ ^| _,-'
echo `-,_ ^| _,-'
echo `-,_^|_,-'
echo.
echo.
ping -n 10 127.0.0.1>nul
try dropping the @
WinPE is a limited environent so getting a viewer to run would be a big hurdle. But if you want to experiment
1. You could edit the boot.wim and add the art and viewer to the file with imagex
2. place the viewer and art on a share and do a net use in the task, map to the server and run it as x:\share\file
good luck