>>10
windowsはディレクトリを開けないんだっけ?
とりあえずdir.hにfindfirst,findnextとかあったかな
あとstdio.hのrename

windowsではwindows.hのfindfirstfile,findnextfile
あたりだな