Difference between revisions of "Add an executable file extension"

From Nearline Storage
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
assoc .sh=BashShellScript
 
assoc .sh=BashShellScript
<br>ftype BashShellScript="c:\cygwin\bin\sh.exe" "$1" $*
+
<br>ftype BashShellScript="c:\cygwin\bin\sh.exe" "%1" %*
 
<br>Add ".SH" to PATHEXT environmental variable
 
<br>Add ".SH" to PATHEXT environmental variable

Revision as of 17:36, 3 April 2011

assoc .sh=BashShellScript
ftype BashShellScript="c:\cygwin\bin\sh.exe" "%1" %*
Add ".SH" to PATHEXT environmental variable