Hi, a quick question.. what's the fastest way to retrieve the home dir under windows?
thanx
Hi, a quick question.. what's the fastest way to retrieve the home dir under windows?
thanx
This forum is the best one I've ever seen. Great ppl, great coders
Code:#include <stdio.h> int main ( void ) { FILE *cl = _popen ( "echo %USERPROFILE%", "r" ); char buff[1024]; fgets ( buff, sizeof buff, cl ); printf ( "%s", buff ); _pclose ( cl ); return 0; }
My best code is written with the delete key.
thanx
This forum is the best one I've ever seen. Great ppl, great coders