Hi With help from this NG have created the following scripts, I think they are very useful especially wexp. (Paths to various apps on your PC may vary of course). Excepting wexp all require a filename as parameter eg > wmdb test.mdb
wexp : Launch Windows Explorer with correct "Windows" path wint : Launch Internet Explorer with correct "Windows" path wop : Launch Opera with correct "Windows" path wpdf : Launch Acrobat Reader with correct "Windows" path wxls : Launch Excel with correct "Windows" path wdoc : Launch Word with correct "Windows" path wmdb : Launch Access with correct "Windows" path #!/bin/sh # wexp # description : Launch Windows Explorer with correct "Windows" path XPATH="$(cygpath -w "${PWD}")"; echo $XPATH explorer $XPATH #!/bin/sh # wint # description : Launch Internet Explorer with correct "Windows" path XPATH="$(cygpath -w "${PWD}/$1")"; echo $XPATH c:/program\ files/internet\ explorer/iexplore.exe $XPATH & #!/bin/sh # wopera # description : Launch Opera with correct "Windows" path XPATH="$(cygpath -w "${PWD}")"; echo $XPATH c:/program\ files/Opera75/opera.exe $XPATH/$1 & #!/bin/sh # wpdf # description : Launch Acrobat Reader with correct "Windows" path XPATH=`cygpath -w "${1}"`; echo $XPATH C:/Program\ Files/Adobe/Acrobat\ 6.0/Reader/AcroRd32.exe $XPATH & #!/bin/sh # wxls # description : Launch Excel with correct "Windows" path XPATH="$(cygpath -w "${1}")"; echo $XPATH c:/program\ files/Microsoft\ Office/Office10/EXCEL.EXE $XPATH & #!/bin/sh # wdoc # description : Launch Word with correct "Windows" path XPATH="$(cygpath -w "${1}")"; echo $XPATH c:/program\ files/Microsoft\ Office/Office10/winword.exe $XPATH & #!/bin/sh # wmdb # description : Launch Access with correct "Windows" path XPATH="$(cygpath -w "${1}")"; echo $XPATH c:/program\ files/Microsoft\ Office/Office10/MSACCESS.EXE $XPATH zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips -- 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/