color FC
@echo off
:10
cls
::1
:::
::: -------------------------------------------------------------------------
::: Info:
::: -------------------------------------------------------------------------
::: 1:Serververbindungen Starten 2:Taegliche Kontrollen
::: 3:Sap-Archivierung 4:Repcheck
::: 5:Festplattenspeicher 6:Exit
:::
::: -------------------------------------------------------------------------
::: I \|||/
::: I (o o)
::: I ,~~~ooO~~(_)~~~~~~~~~,
::: I | Datensicherung |
::: I | Baenderwechsel |
::: I | nicht vergessen |
::: I '~~~~~~~~~~~~~~ooO~~~'
::: I |__|__|
::: I || ||
::: I ooO Ooo
::: I
::: I by Jedrzej Adamski
::; 1...5....|....,....|....,....|....,....|....,....|....,....|....,..70|....77|
ECHO %time% %date%
@echo off&setlocal
:: HMax --- Horizontale Breite
set /a HMax=0, vor=0
setlocal enabledelayedexpansion
for /f "delims=:" %%i in ('findstr /o /b "::: ::;" "%~f0"') do (set /a Max = %%i - vor -6
if !HMax! lss !Max! set "HMax=!Max!"
set "vor=%%i"
)
for /l %%i in (1,1,%HMax%) do (call set "V=!V!Í"
call set "empty=!empty! "
)
endlocal & (set /a HMax = %HMax% & set "empty=%empty%" & set "V=%V%")
:: Rahmenerstellung
for /f "usebackq tokens=1,*" %%i in ("%~f0") do (set "Line=%%j%empty%"
setlocal enabledelayedexpansion
set "Line=!Line:~0,%HMax%!
if "%%i" == "::1" echo É%V%»
if "%%i" == ":::" echo º!Line!º
if "%%i" == "::;" echo È%V%¼
endlocal
)