Trying to work around command-line limitation on windows