Advertisement

Setting Current read directory?

Started by August 07, 2001 10:19 AM
2 comments, last by Zerosignull 23 years, 6 months ago
How do i set the current read directory relevant to the main exe??? ~prevail by daring to fail~
Say what?
Are you using C/C++? Console or Win32?
If your are programming just a plain console app, argv[0] will contain the full path name of the program. Just chop of the foo.exe
Advertisement
Im using c++

~prevail by daring to fail~
the include is direct.h, and chdir will do that

Magmai Kai Holmlor
- Not For Rent
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement