Declaration: char *getenv(const char *name); #include #include int main(void){ printf("Path %s",getenv("PATH"));} /*Path C:\Java_Dev\sdk\djgpp\bin;*/