BatchLine

Table of contents

  1. get @batchline

get @batchline

Retrieves the number of line inside a batch file.

@echo off
echo The current line number is: !@batchline!
2