Connecting to Windows server from UNIX through script

I am trying to connect to a Windows server say 10.1.1.10. This servers has a folder named RAJ in which there are multiple .zip files. All these zip files contain a text file called XYZ.txt. Now i have to merge the content of these XYZ.txt files from each of the .zip file and create a new text document with the merged file.

So how can i connect to the windows server through unix and extract only data from the XYZ.txt in each *.zip file and merge the contents?

These are two problems combined, one is networking to access the server and two is text processing in *nix. Your request is utmost sparse, leaving many details for us to guess. So you should tell us

  • what you have tried to solve either problem
  • what your network topology is, e.g. which protocols (smb, nfs, ssh,...) are used
  • sample input and output files