请问BATCH FILE的问题 |
尚未結案
|
zhouying
一般會員 發表:7 回覆:4 積分:2 註冊:2004-12-07 發送簡訊給我 |
|
RedSnow
版主 發表:79 回覆:1322 積分:845 註冊:2003-12-15 發送簡訊給我 |
zhouying 您好: 我沒用過 Delphi,但是我猜想 BCB 與 Delphi 在這方面大概不會差太多,我從 BCB 的 Help 中查看的結果,有一個建立 Batch File 的範例應該可供參考:
Example of creating a batch file The first task to complete in creating our project group example is to create a batch file. This batch file creates a subdirectory that will contain the intermediate (.OBJ) files generated during the build process. To create a batch file: 1. Choose File|New and choose batch file to create a batch file.
2. In the Project Manager, select the project, right-click, and choose Options.
3. In the Commands, type the following batch file commands:
@echo OFF mkdir OBJS
@echo ON
pause
4. From the Project Manager, right-click and choose Save to name the batch file.
5. In the File name box, type CreateOutputDirs. Notice the batch file automatically suggests the .BAT extension. To name the project group, 1. From the Project Manager, select Project Group, right-click and choose Save Project Group As to name the project group.
2. In the file name box, type TestProjectGroup. Notice the project group has the .BPG extension.
您可以查看一下您的 Help,以便確認操作步驟能符合您使用的版本。
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |