This page was originally i.e. in 2010, used to make some notes on using bash, or originally ksh on windows. At some point I moved from cygwin to Microsoft’s Windows Sub-system for Linux aka WSL. I have moved those scripts that I want to reuse to a github repo called windows-tools and the original text related to managing Virtual Box, to a wiki page on this site. I use tcl/tk as my visual scripting language and the windows tools repo consists of several working tcl/tk scripts and some that don’t.
My code is located at
One persistent problem has been the use and access to windows file system names. This has improved over time and I have an example in this script, called purgeandtidy.
I have revised this page, a lot. It is now very short, and mainly consists of x-refs to other pages including my github repos.
I have removed the following comments from the body of the article.
I have installed a new bash.bat file. This is located beside cygwin.bat. It consists of,
@echo off
:: Dave Levy (c) 2009 Is this GPL?
:: bash.bat Version 1.0
:: Wrapper to run *sh scripts from windows explorer/desktop
c:\ksh\bin\bash –login %*
This will be over 15 years old, and tuned for work with cygwin, so I have no idea if it’s of any use any more.