I was hoping to avoid passing yet another parameter as the called procedure already has up to 5 different params.
Oh well...
Search found 2 matches
- 19 Oct 2007 07:21
- Forum: DOS Batch Forum
- Topic: How was I called?
- Replies: 6
- Views: 13353
- 16 Oct 2007 09:12
- Forum: DOS Batch Forum
- Topic: How was I called?
- Replies: 6
- Views: 13353
How was I called?
Is there a way for a batch file to know whether it was called from a command window or from within another batch file?
I have a script that should prompt if run "interactively" or not prompt if "call"ed from a within another batch file.
Thanks!
Bruce
I have a script that should prompt if run "interactively" or not prompt if "call"ed from a within another batch file.
Thanks!
Bruce