use opendir("\") to replace open("/",0)