Where is paramstr(0) hide ? (Developers)
> Hello!
>
> Does any anybody know, where is DOS have path and name of executed
> program?
> I talk about paramstr(0) (in pascal) or first element of argv (in C) - like
> C:\PATH\COOLPRG.EXE
>
> I am try disassemble minimal program in TP7, but have 31k disassembled text
> and continue investigate (may be somebody already known it and can make
> may path is short).
I believe it is at the end of the environment block, after the double-zero that marks the end of the variables stored in the block.
---
l
Complete thread:
- Where is paramstr(0) hide ? - DosWorld, 25.12.2020, 22:39 (Developers)
- Where is paramstr(0) hide ? - ecm, 25.12.2020, 22:51
- Where is paramstr(0) hide ? - Laaca, 26.12.2020, 00:10
- Where is paramstr(0) hide ? - tkchia, 26.12.2020, 07:22
- Where is paramstr(0) hide ? - DosWorld, 29.12.2020, 00:41
- Where is paramstr(0) hide ? - ecm, 25.12.2020, 22:51