Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

batch file with flags

FOR %%A IN (%*) DO (
    IF "%%A"=="/r" ECHO You passed the /r flag.
)
Comment

batch file with flags

:processargs
SET ARG=%1
IF DEFINED ARG (
    IF "%ARG%"=="/r" ECHO You passed the /r flag.
    SHIFT
    GOTO processargs
)
Comment

PREVIOUS NEXT
Code Example
Shell :: launch edge from wsl 
Shell :: install bazel ubuntu 20.04 
Shell :: llaravel sanctum 
Shell :: Can we install XAMPP on Linux from a given link 
Shell :: ubuntu search for file whole hard drive 
Shell :: new ip linux 
Shell :: install mongodb ubuntu 18.04 
Shell :: how to move wsl storage 
Shell :: using scp with ssh with server credentials 
Shell :: Create alias for git push 
Shell :: duf command ubuntu 
Shell :: kill process on mac 
Shell :: install kubernetes on ubuntu 
Shell :: convert mp4 to hap 
Shell :: mc for ubuntu linux 
Shell :: tar gzip compression level 
Shell :: docker quickstart terminal windows 
Shell :: ubuntu drivers 
Shell :: how to open a .sh file 
Shell :: exit docker container 
Shell :: linux command find program 
Shell :: ubuntu install safari browser terminal 
Shell :: git push to my work 
Shell :: printf in bash 
Shell :: how to customize zsh 
Shell :: download file on linus ssh 
Shell :: how to make pyinstaller build python program not open command prompt 
Shell :: powershell create new file and open 
Shell :: powershell rename replace 
Shell :: telnet command 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =