Hi,

On Fri, May 17, 2013 at 2:23 PM, Chris Evans <[email protected]> wrote:
> I wonder if a return command /instruction can be added so batch files can
> have function like behavior ...

Some shells support it, e.g. DR-DOS or 4DOS or CMD. But a quick check
(no surprise) of FreeCOM "exit /?" doesn't show it returning any
errorlevels. So "vanilla" DOS doesn't (usually) support it.

You could probably fake something up, e.g. just "set RETURN=1" or
whatever and check that in subsequent batch files. I guess it really
just depends on what you're trying to accomplish.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to