Wengier,This is excellent work - thank you! Unfortunately, it doesn't work with XyWrite for Windows' "Go to DOS" menu item, because, if you run it with no parameter, it displays its usage message instead of opening cmd.exe. Is there a way to modify it so that it will run cmd.exe if there is no parameter, but display its usage message if it is run with a parameter like /? or -?
That would make it work perfectly with XyWin's Go to DOS feature.