IntControl 1004

Syntax:

IntControl (1004, 0, 0, 0, 0)

 

Returns the full path and file name of the current WinBatch program.

If the current WinBatch script is a child program that was called with the Call( ) function, this IntControl will return the name of the main (calling) program.

See Also:

DirScript