4nt8 or ttc le 13
I have a bat file called from many other bat files..
Is there a way to determine, from within the bat file the name of the bat file from which it was called?
Or alternatively when one quits the bat file can one find out where it's returning to?
Guess there's got to be some sort of stack inside 4nt or tcc where this is kept?
PS There's %~dpnx0 that I didn't know about that tells one the name of the bat file, which I just discovered from googling my problem.
john
I have a bat file called from many other bat files..
Is there a way to determine, from within the bat file the name of the bat file from which it was called?
Or alternatively when one quits the bat file can one find out where it's returning to?
Guess there's got to be some sort of stack inside 4nt or tcc where this is kept?
PS There's %~dpnx0 that I didn't know about that tells one the name of the bat file, which I just discovered from googling my problem.
john