Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Where is paramstr(0) hide ? (Developers)

posted by DosWorld, 25.12.2020, 22:39

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).

---
Make DOS great again!

Carthago delenda est, Ceterum censeo Carthaginem delendam esse.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 215 users online (0 registered, 215 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum