Loading System (Batch Programming)

by LusoFeaz in Circuits > Tools

475 Views, 2 Favorites, 0 Comments

Loading System (Batch Programming)

LockerPic.png

In this instructable I will show you how to make a less fancy loading system in notepad/batch files.

The Code

Here's our code

@echo off
setlocal enabledelayedexpansion

color 0a

for /l %%i in (1,2,100) do echo Loading - %%i^% & ping localhost -n 2 >nul & cls

How It Work and What It Does

Screenshot_6.png

Read the comments. ( The green lines)

*EDIT: %%i (this is your variable,) %%i^%