Does app.exe know caller's location(dir/folder)?

For instance. I am in 'c:\work' and start a rust app located in 'c:\apps'. After starting 'c:\apps\app.exe', does app.exe know 'work' folder? Is there a some thing like 'default folder' ?

Are you looking for the concept named "current working directory"?

2 Likes

or

2 Likes

Works excellent! Thanks

!!! Here I asked for app selfname, no one told me about it.. Now my a little home app gets it's name trough parsing Args[0]..:grinning:

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.