1

Is it possible to return a value from a perl script, such as an integer, into a batch or cmd file?

I was thinking like this:

set RESULT=0
set COUNT=0

ascript.pl > %RESULT%

%COUNT% += %RESULT%

otherscript.pl > %RESULT%

%COUNT% += %RESULT%
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.