this is resolved now! - had put echo in every line and traced out the error!
used cmd.exe /C < command > - created log file to trace the error. was a good analysis - ask BASIS to give access to OS or work with BASIS to resolve any such command prompt related issues. Most of the time an experienced PI developer will do it correctly,
%F% etc was not required. Refer Michael's blog to trace out the error.!