I an trying to get my running file name in VB6.
If I were in python3+ I can simply run the script below called "temp.py" and it returns my current running script name. I want the same thing but in VB6 but have only been able to return the path with CurDir(). Extension of file will have to be ".bas"
import os
print(os. path. basename(__file__))
temp.py
I have tried search various stack overflow but cannot find the same issue. Microsoft documentation cannot help either