Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Run batch file from another server - to merge csv:)

$
0
0

Hello.

I have a csv file that comes in every day. Same filename, but different data each day.

!ID;Type;Amount;Total;ID User;Time;Channel;Channel 1;ID Number;Unit;Reff;From Zone;From Stop;Too Zone;Too Stop;Zones;Incp

5298637;Adult;1;34;14938;01.01.2014 00:08;Phone;Phone;;;;;;;;0;

5298644;Night;1;70;28374;01.01.2014 01:24;Phone;Phone;;;;;;;;0;

5298646;Night;1;70;6781;01.01.2014 01:38;Phone;Phone;;;;;;;;0;

5298647;Night;1;70;3069;01.01.2014 01:39;Phone;Phone;;;;;;;;0;

5298649;Night;1;70;11227;01.01.2014 01:43;Phone;Phone;;;;;;;;0;

5298650;Night;1;70;11227;01.01.2014 01:44;Phone;Phone;;;;;;;;0;

5298651;Night;1;70;11227;01.01.2014 01:44;Phone;Phone;;;;;;;;0;

5298652;Night;1;70;66958;01.01.2014 01:48;Phone;Phone;;;;;;;;0;

5298653;Night;1;70;44861;01.01.2014 01:48;Phone;Phone;;;;;;;;0;

 

The file today have about 1 million rows, and each day – they are around 15.000 new rows that I would like to merge in the first file – the original file.

If I have the original csv file in a folder and the new one, I can run this one copy *.csv allesammen.csv. bat the new rows are merge / applied into the original file.

This is done locally on the server.

However, I would like to run this script from another server. So I thought this was ok - copy \\servername\sharedfolder\Backup\*.csv\\servername\sharedfolder\Backup\allofit.csv but no...  .

But I can’t get the script to get going… what do I do wrong here J


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>