myMainScript.bat
@echo off
set myValue=$(call lib/helloWorld.bat)
echo myValue: %myValue%
helloWorld.bat
@echo off
echo "hello world!"
This does not work, how to set the echo of another script as a variable?
myMainScript.bat
@echo off
set myValue=$(call lib/helloWorld.bat)
echo myValue: %myValue%
helloWorld.bat
@echo off
echo "hello world!"
This does not work, how to set the echo of another script as a variable?