Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell execute command only if previous successful

# if the first echo success, do the second echo
echo "hello" ; if ($?) { echo "world !" }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #execute #command #previous #successful
ADD COMMENT
Topic
Name
6+9 =