This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:initial_Section | |
::var defaults | |
set debugmode=0 | |
::0 = Normally | |
::1 = Normally + Debug Skip Intro | |
::2 = Normally + Backup Debug Skip Intro | |
::3 = Only Backup Normally | |
::4 = Only Backup + Debug Skip Intro | |
::5 = Backup + delete old date file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
::var defaults | |
::caller | |
set Backup_Caller="C:\_bat\Backups\7dtd Backup.bat" | |
set timer_m=30 | |
set /a timer_s= %timer_m% * 60 | |
::UI | |
set color_red=04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:initial_Section | |
::set async mode | |
setlocal EnableDelayedExpansion | |
::var | |
::server template location | |
set templates="C:\_templates\_ldt" | |
::caller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:initial_Section | |
::set async mode | |
setlocal EnableDelayedExpansion | |
::check for input | |
if !heartbeat! equ 1 ( | |
goto start_Section | |
) else ( | |
goto no_input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:initial_Section | |
::set UI | |
mode con lines=21 cols=100 | |
title Fileinfo Debugger | |
color 0a | |
set heartbeat=1 | |
::important for Script working properly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:initial_Section | |
::set async mode | |
setlocal EnableDelayedExpansion | |
:start_Section | |
::Process looking for: cmd as admin named "Local Date Time Generator" | |
for /f "TOKENS=2" %%a in ('tasklist /nh /fi "WINDOWTITLE eq Administrator: Local Date Time Generator"') do Set PID=%%a | |
if %PID% gtr 0 ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SinusBot installer by Philipp Eßwein - DAThosting.eu philipp.esswein@dathosting.eu | |
# Vars | |
MACHINE=$(uname -m) | |
Instversion="1.5" | |
USE_SYSTEMD=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:initial_Section | |
::var defaults | |
set debugmode=0 | |
::0 = Normally | |
::1 = Normally + Debug Skip Intro | |
::2 = Normally + Backup Debug Skip Intro | |
::3 = Only Backup Normally | |
::4 = Only Backup + Debug Skip Intro | |
::5 = Backup + delete old date file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
::set async mode | |
setlocal EnableDelayedExpansion | |
::check for input | |
if !heartbeat! equ 1 ( | |
goto initial_Section | |
) else ( | |
goto no_input | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ask() { | |
while true ; do | |
if [[ -z $3 ]] ; then | |
read -r -p "$1 [$2]: " result | |
else | |
read -r -p "$1 ($3) [$2]: " result | |
fi | |
if [[ -z $result ]]; then |
OlderNewer