>> Edit article
이름
제목
패스워드
: 예를 들어 일정한 형태의 데이터 화일을 입력받아 적절한 일을 하는 : 실행화일이 arun.exe이면 : 도스에서는 : : arun data1.txt : arun data2.txt : arun data3.txt : : 등등으로 작성하여 화일 이름을 : 쉽게 a.bat 로 저장하여 : 도스창에서 a 만 치면 위의 3 명령이 차례로 실행되는데.. 예를 들어 일정한 형태의 데이터 화일을 입력받아 실행하는 명령이 arun이고 그 파일이 /command/path에 위치하고 있다고 가정하면, a라는 파일을 다음과 같이 만듭니다. ############# start of a ############### # # run /command/path/arun with inputfile # ######################################## #!/bin/sh /command/path/arun data1.txt /command/path/arun data2.txt /command/path/arun data3.txt ############## end of a ################ shell_prompt> chmod 755 a shell_prompt> ./a -- 외로워라 이네몸은 뉘와함께 놀아날꼬.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved