295 |
|
// Add the filename if it doesn't exists |
296 |
|
else |
297 |
|
{ |
298 |
< |
command = command.Insert(command.Length-1," -filename:" + this.forceFiles); // -1 to be inside quotes |
298 |
> |
command = command.Insert(command.Length," -filename:" + this.forceFiles); |
299 |
|
} |
300 |
|
|
301 |
|
if (paramType != "") |
314 |
|
|
315 |
|
if (this.globalNoBackups && !Util.ContainsIgnoreCase(command,"nobackups")) // add noBackup flag if provided as global parameter |
316 |
|
{ |
317 |
< |
command = command.Insert(command.Length - 1, " -nobackups"); // -1 to be inside quotes |
317 |
> |
command = command.Insert(command.Length, " -nobackups"); |
318 |
|
} |
319 |
|
|
320 |
|
Program.Main(Util.stringToArgsArray(command)); // use the current process is more efficient than start a new one |