public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* how to hide the console window.
@ 2012-02-23 11:07 tianlijian
  2012-02-23 12:34 ` Corinna Vinschen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tianlijian @ 2012-02-23 11:07 UTC (permalink / raw)
  To: cygwin

how to hide the console window.

the bat code is:

@echo off



REM batch file directory
set BATCH_FILE_DIR=%~dp0

set PATH=/usr/sbin;/bin;/usr/bin;%PATH%
REM "%BATCH_FILE_DIR%bin\bash.exe" -c "/usr/sbin/sshd"
start "sshd by wei" "%BATCH_FILE_DIR%bin\bash.exe" -c "/usr/sbin/sshd &"



echo success...
REM ping -n 3 127.0.0.1 >NUL

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-23 23:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-23 11:07 how to hide the console window tianlijian
2012-02-23 12:34 ` Corinna Vinschen
2012-02-23 16:01 ` tianlijian
2012-02-23 23:20 ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).