Thanks for your reply Orlando
I created proxies and yes the account can access the folders and files.
I created proxy for cmd and ran the job from that account and created proxy for powershell and run job from there.
When I run the cmd by it self its working good. the problem is when i run through agent.
Thanks