Skip to content

Instantly share code, notes, and snippets.

@eugeneai
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eugeneai/9b6e1909252eb1fc47b8 to your computer and use it in GitHub Desktop.
Save eugeneai/9b6e1909252eb1fc47b8 to your computer and use it in GitHub Desktop.
Simple script to run microsoft excel-2010 in a .2010 wine bottle.
#!/bin/bash
NAME=$(basename $0)
WINEPREFIX=$HOME/.2010
WPREF=$WINEPREFIX
MS_VER=14
MS_LOCATION=$WPREF/drive_c/Program\ Files/Microsoft\ Office/Office$MS_VER
WINEPREFIX="$WPREF" wine "$MS_LOCATION/$NAME.EXE" $* > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment