Loading System (Batch Programming)

179

2

Posted

Introduction: Loading System (Batch Programming)

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

Step 1: 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

Step 2: How It Work and What It Does

Read the comments. ( The green lines)

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

Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Space Challenge

      Space Challenge
    • Science of Cooking

      Science of Cooking
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments