File size: 590 Bytes
c96b98a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
call :%~1 "%~2"
goto :eof

:: Collection of helper functions to import in other scripts

:: Function to pause the script until a key is pressed
:space_to_continue
echo Press any key to continue...
pause > nul
goto :eof

:: Function to print a horizontal line
:print_horizontal_line
echo ------------------------------------------------------------
goto :eof

:: Function to print a heading with horizontal lines
:print_heading
call :print_horizontal_line
echo -*- %~1
call :print_horizontal_line
goto :eof

:: Function to print a status message
:print_info
echo -*- %~1
goto :eof