I am writing one batch program in java
when it is exceuted it will pick up one CSV file to read.
wht i want is , Before it starts reading the file , i should rename the file so that other instance of the same batch program should not get the same file to read. After reading the file i want to rename the file back to its orignal name.
Thanks and Regards