Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
@ECHO OFF
setlocal enableextensions enabledelayedexpansion

IF [%1]==[/?] GOTO :help
IF [%1]==[--help] GOTO :help

:help
ECHO HELP
GOTO:EOF

Echoing Commands w/o Executing:

https://stackoverflow.com/questions/60867680/how-to-echo-batch-commands-without-executing

https://www.robvanderwoude.com/escapechars.php

escape % by duplicating, & by putting a ^, and ! by putting two ^s before it
::%PFUNC% !file[%%n]!
ECHO %%PFUNC%% ^^!file[%%%%n]^^!
  • No labels