Samba Script not completing

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
題目: Samba Script not completing
On Tue, 15 Jul 2003 wrote:

> Here is the batch file in question:


What is your definition of a batch file?

> smbclient \\\\servername\\sharename -U <username> -N
> sleep 2
> put deleteme testagaina11
> quit
> exit


If you want to do this with a shell, do something like:

( sleep 2 ; echo 'put deleteme testagaina1' ; echo 'quit' ) |
smbclient \\\\servername\\sharename -U <username> -N



Jeremy C. Reed
http://www.reedmedia.net/