>does anybody know which command I have to use for... I'm going to assume you mean "library call" >...getting the time and date of a file (packed). stat(2) Fills a structure with lots of info about a file, incl modification dates & times. >...changing directories without using popen() ? chdir(2) Sets process current working dir to be the passed path.