for (int i = 0; i < commands.length; i++)
if (commands[i].equals(FILE_INDICATOR))
commands[i] = file.getAbsolutePath();
try {
Runtime.getRuntime().exec(commands);
for (int i = 0; i < commands.length; i++)
if (commands[i].equals(FILE_INDICATOR))
commands[i] = file.getAbsolutePath();
try {
Runtime.getRuntime().exec(commands);