import os echo getAppFilename() # Prints the full path of the executed file echo paramStr(0) # Prints argv[0]