Angelo Graziosi wrote:
> /cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash 
> --login -i'
>
> works in a dos-like shell (Cygwin.bat) but not in mintty. Is there some trick 
> to do the job also in mintty?

Angelo,

I'm not completely sure about what you are trying to do, but this works for me 
to get a shell running under the proper user:

$ cat bldmgr.bat
 runas /user:proddev\bldmgr "c:\cygwin\bin\mintty.exe -"

Eric Fahlgren

Reply via email to