This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to hide the console window.


hi
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]