delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/29/16:17:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Leandro <licano AT bol DOT com DOT br>
To: <cygwin AT cygwin DOT com>
Date: Mon, 29 Dec 2003 19:19:16 -0200
Subject: A suggestion
Mime-Version: 1.0
X-Sender-IP: 200.181.170.192
Message-Id: <20031229211740.0CA3977C1@sankara1.bol.com.br>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hBTLHsfp008502

Cygwin.bat
______________________________________________________________
REGEDIT4
@echo off
if "%1"=="" goto login

bash -c "$( cygpath -u "%1" )"


goto fim
:login

C:
chdir C:\cygwin\bin
bash --login -i

:fim

cygwin.reg
______________________________________________________________
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\CLASSES\.sh]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.ssh]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.tcsh]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.zsh]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.awk]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.sed]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.csh]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.ksh]
@="sh_auto_file"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.pl]
@="sh_auto_file"


[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file]
@="Shell Script"
"EditFlags"=hex:d0,04,00,00

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell]
@=""

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\open]
@=""
"EditFlags"=hex:00,00,00,00

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\open\command]
@=C:\\cygwin\\cygwin.bat\" \"%1\" %*"

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\print]
@=""

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\print\command]
@="C:\\WINDOWS\\NOTEPAD.EXE /p %1"

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\edit]
@="&Editar"

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\edit\command]
@="C:\\WINDOWS\\NOTEPAD.EXE %1"


[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\Convert]
"EditFlags"=hex:01,00,00,00

[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\Convert\command]
@="\"C:\\cygwin\\bin\\conv.exe\" \"-A\" \"%1\""




[HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\DefaultIcon]
@="C:\\cygwin\\usr\\X11R6\\bin\\run.exe,0"



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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019