Search found 61 matches

by shadeclan
02 Jun 2011 12:03
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50736

Batch Functions: goto:eof, exit /b and structure.

On a hunch, I created and successfully executed a batch script while ending the function with "exit /b" instead of "goto:eof". The "/b" assures that only the function is exited (according to the MS help file) and not the entire script. I thought the "exit /b" ...