Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

batch in-line comment

Use "& ::" to make an in-line comment:
echo code_goes_here & :: comment goes here
Comment

comment in batch

:: This is a comment.
@Rem Also a comment.
Comment

comment in batch file

:: This is a comment

REM This is also a comment
Comment

batch comment

Use :: or REM

Eaxmple:
::   comment goes here
REM  comment goes here

Inline comments:
commands go here & :: comment goes here
Comment

batch file comment after command

::   This is a comment
REM  This is also a comment

echo Hello world & :: This is an inline comment
Comment

batch comment

:: This is a comment that won't be printed
- or -
REM This is a comment that will be printed

ECHO "Hello" & :: This command prints 'Hello'
- or -
ECHO "Hello" REM This command prints 'Hello'
Comment

batch script comment

Rem This is a comment

:: This is another comment
Comment

how to comment a line in batch script

your commands here
:: commenttttttttttt
Comment

batch comment

:: This is a comment is batch
Comment

PREVIOUS NEXT
Code Example
Shell :: kubernetes windows install 
Shell :: no devices connected android studio 
Shell :: gitgraken pre-receive hook declined 
Shell :: droidcam usb 
Shell :: le wagon setup 
Shell :: check intellij version 
Shell :: docker repository 
Shell :: git how to track files 
Shell :: generate ssh key linux 
Shell :: install pip mac 
Shell :: gitlab ci echo variable 
Shell :: set git remote heroku to https://git.heroku.com/resume-projects.git 
Shell :: datadog 
Shell :: fslmaths 
Shell :: install erlang 20 mac brew 
Shell :: std error bash 
Shell :: installing statasmodels in anaconda 
Shell :: bash print separator null character 
Shell :: putting remote access to rpi zero 
Shell :: gimp deselect all 
Shell :: Run multiple commands over SSH as sudo 
Shell :: config interface fortigate 
Shell :: how to install anbox on ubuntu 18.04 
Shell :: how to remove mingw64 from git bash 
Shell :: git branch -M main not working 
Shell :: deploy command for ropsten network 
Shell :: Write down PowerShell command to check if ISATAP and TEREDO are enabled. 
Shell :: como crear icono de aplicacion en linux 
Shell :: libthai0:i386 depends on libdatrie1 (= 0.2.0); however: Package libdatrie1:i386 is not configured yet. 
Shell :: android mobile as webcam ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =