Thanks for your quick reply... its working fine.
i tried implementing it in different case as mentioned below
I have the tar.exe placed in my server and whose UNC is
\\lexington.group.com\test\tar so i mapped its Physical path as C:\Program files\tar and
my source files are present under
\\lexington.group.com\test\source which has the physical path e:\tesst\aad
so i have given the commands in the batch script to tar as
cd e:\tesst\aad
"C:\Program files\tar" --remove-files -pcf test.tar test_*.xml
Though the command shows no error, tar file is not placed under the path e:\tesst\aad
Any ideas why i could'nt find the tar file under e:\tesst\aad?
Another doubt
C:\tar\bin\> tar -C D:\coim -cf test.tar D:\coim\*.gz
this command is placing the test.tar file only under C:\tar\bin is there any change to be made on the command to place it under D:\coim?