DOS: Run Unix Commands

In DOS type:

C:\some\random\dir> bash -c 'unixCommand unixCommandParam'

ie. bash -c '/usr/bin/python setup.py install'

The reverse of running DOS commands from Unix can be done by the following:

$ cygstart winCommand 'winCommandParam1' 'winCommandParam2' ... etc

ie. cygstart build.bat LG_VX7000 SMALL

No comments: