티스토리 뷰

Development

[Cpp] dos command

devbible 2015. 4. 1. 16:15

아래와 같이 dos 명령어의 사용이 가능하다.



#include <stdlib.h> 

 

int main (int argc, char* argv[]) 

   system("dir C:\\temp > C:\\temp\\out.txt");

   return 0;

}

댓글