I\'m (relatively) new to Java and I\'m trying to implement a .jar that runs a list of commands that in Windows XP\'s command prompt it would be:
cd\\ cd myfolder
You are using Collection method get on an Array. Use Array Index notation as below:
Collection
get
Array
Array Index
File pes = fList[i];
Also better to use endsWith() String method over the file name as:
if (pes.getName().endsWith(".lck")){ ... }