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
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.
I use a older version of 1.7, which do not mount `/bin', `/usr/bin'
automatically. It works well.
On Tue, Sep 22, 2009 at 11:04 PM, Dave Korn
wrote:
> tianlijian wrote:
>> how to let cygwin does not mount /bin /usr/bin automaticlly?
>
> Lots of things won't work
how to let cygwin does not mount /bin /usr/bin automaticlly?
--
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
A1
>
> According to tianlijian on 4/17/2009 8:14 PM:
>> 1. add the "export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ '" to /etc/profile
>> or ~/.bash_profile .
>> The statement mush be putted in the configuration file, can not
>> execute the bash command
1. add the "export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ '" to /etc/profile
or ~/.bash_profile .
The statement mush be putted in the configuration file, can not
execute the bash command line, otherwise the problem will not occur.
2. type the command 'one two three four five six' in the command line.
6 matches
Mail list logo