I'm a novice programmer and I would like to create a CLI utility to provide Windows cmd.exe interpreter a simple string management tool.
My problem is: how can I return the result to the calling script?
(1)
Code: Select all
Errorlevel
(2) The technique based on:
- Writing of a file '
Code: Select all
result.bat
Code: Select all
set myVar = what_the_utility_returned
Can you, please, provide advices ?
Thanks in anticipation.