Search found 42 matches

by foncesa
12 Apr 2023 11:55
Forum: DOS Batch Forum
Topic: Copy Specific rar file to specific folder on drive
Replies: 2
Views: 2655

Copy Specific rar file to specific folder on drive

Hi.
we have multiple rar files in folder d:/data files named as 001.rar, 002.rar, 003.rar, ...
Now i want this rar files to be copied on drive folder Y:/ where i have folders 001/002/003....
Copy specific rar file to specific folder in drive Y
I will highly thankful for help.
by foncesa
08 Jul 2022 09:45
Forum: DOS Batch Forum
Topic: Search todays folder and copy to destination
Replies: 1
Views: 2789

Search todays folder and copy to destination

Hi, I want to search source folder for todays date and if it exits then copy a particular folder from it, to shared network destination and extract all the files from it and paste it. source folder c:/Reports/(todaysdate) particular folder : softimages network 192.168.1.130 user xxx password xxx des...
by foncesa
13 Jan 2015 22:26
Forum: DOS Batch Forum
Topic: Match Up
Replies: 18
Views: 13756

Re: Match Up

Hi,

Thanks Antonio its perfect.

Many Thanks.
by foncesa
13 Jan 2015 10:06
Forum: DOS Batch Forum
Topic: Match Up
Replies: 18
Views: 13756

Re: Match Up

Hi,

Thanks for the response.

Its true Squashman its not working, it does not generate the matches.txt(output file of duplicate lines), wherein duplicate lines are in file.txt
by foncesa
13 Jan 2015 06:55
Forum: DOS Batch Forum
Topic: Match Up
Replies: 18
Views: 13756

Re: Match Up

Hi,

Thanks foxidrive for response.
You've shown two lines that match.
What will happen if there are multiple lines that match? Do you want every matching line in the file?


Yes, I want all those matching mupltiple lines in the file.
by foncesa
12 Jan 2015 22:31
Forum: DOS Batch Forum
Topic: Match Up
Replies: 18
Views: 13756

Match Up

Hi, I want to match the lines of text file upto 45th character and if any duplicates are found then liken to be copied to a new text file. Sample Text File Title ABC & Co. 10366700005501800000e006000000000003148600000e006059327300000000000000011205920289592524711849252471180917724 03673386146000...
by foncesa
03 Nov 2014 04:49
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi Foxidrive, This output is shown on the window. file "131044003" serial "310747" Comparing files C:\DATABASE\131044003.csv and C:\USERS\FONCESA\APPDATA\LOCAL\TEMP\131044003.CSV.TMP FC: no differences encountered I have uploaded sample files in my google drive. file https://driv...
by foncesa
03 Nov 2014 00:57
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi Foxidrive,

Is there no screen output at all before the pause command?


It echos [file "131044003" serial "310747"] but does nothing.
by foncesa
02 Nov 2014 23:43
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi foxidrive,

I tested the codes it does not give the expected results, it does not append, No output, and search is very slow.
Please revive.
by foncesa
22 Oct 2014 04:11
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi,

Or 500 serials of a certain character length?

Yes, i mean each serial of 6 digits and there can be upto 500 serials in single line/row.
by foncesa
22 Oct 2014 02:55
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi foxidrive,

How long will the longest line be? 500 serials in row/longest line.

Does each line have to search from the 4th record? Yes all the serials are maintained from 4th record.
by foncesa
21 Oct 2014 23:12
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi Foxidrive,

and this is the fourth record abc|def|ghi|jkl|mno

Yes, it will start from the fourth record


Is there only one data line (plus header line) in the CSV files?

No, No its very huge file approx. 1 hundred thousand serial records are stored in each csv files.
by foncesa
21 Oct 2014 13:47
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Re: Extract data from a CSV file via batch script.

Hi Squashman, I am extremely sorry, I did make lots of mistake to my presentation/question. I have rectified the mistakes and represent it. I have a flat text file of approx. 5000 rows, Starting from the text file 10th digit upto next 9 digit is the corresponding CSV file name which is located in c:...
by foncesa
21 Oct 2014 12:41
Forum: DOS Batch Forum
Topic: Extract data from a CSV file via batch script.
Replies: 20
Views: 16423

Extract data from a CSV file via batch script.

Modedit: This first post was replaced with the corrected post Hi Squashman, I am extremely sorry, I did make lots of mistake to my presentation/question. I have rectified the mistakes and represent it. I have a flat text file of approx. 5000 rows, Starting from the text file 10th digit upto next 9 ...
by foncesa
21 Oct 2014 05:40
Forum: DOS Batch Forum
Topic: Sort Records
Replies: 12
Views: 8705

Re: Sort Records

Hi,

Thanks to all for suggestion and help provided to newbie.

Thanks.