2017-01-14 16 views

答えて

0

残念ながら、あなたの質問には詳細な説明がありません。 コンポーネントが正常にインストールされている場合は、コンポーネントパレットに表示されます。あなたのフォームに配置し、オブジェクトインスペクタのプロパティを調整してExecuteに電話してください。

ご存知のとおり、ユニットヘッダーの「使用方法」と「例」のコメントは読んでいますか?

******************************************************************* 
    How to use it : 
    --------------- 
    - just put the line of command in the property 'CommandLine' 
    - execute the process with the method 'Execute' 

Example : Make a dir : 
    ---------------------- 
    - if you want to get the Result of a 'c:\dir /o:gen /l c:\windows\*.txt' 
    for example, you need to make a batch file 
    --the batch file : c:\mydir.bat 
    @echo off 
    dir /o:gen /l %1 
    rem eof 
    --in your code 
    DosCommand.CommandLine := 'c:\mydir.bat c:\windows\*.txt'; 
    DosCommand.Execute; 
+0

ありがとうございます。遅れた返事をおかけして申し訳ありませんが、なんらかの理由で私はユニットヘッダーに "How it use"と "Example"コメントがありませんでした。 – Newb101

関連する問題