Search found 4 matches

by philip123
20 Jun 2015 02:13
Forum: DOS Batch Forum
Topic: Help please - sort one url per line with batch file
Replies: 20
Views: 15043

Re: Help please - sort one url per line with batch file

However, if the file size is longer than 8192, then it must be processed in "chunks" of a lesser size: Code: @echo off setlocal EnableDelayedExpansion call :SplitLongLine < input.txt > output.txt goto :EOF :SplitLongLine set "lastPart=" :nextPart set "part=" set /P par...
by philip123
19 Jun 2015 16:19
Forum: DOS Batch Forum
Topic: Help please - sort one url per line with batch file
Replies: 20
Views: 15043

Re: Help please - sort one url per line with batch file

Hi Antonio,

The file size is longer than 8192, so I tried the code for that, and it works perfectly!

Thank you very, very much!!!

Regards,
Philip
by philip123
19 Jun 2015 13:38
Forum: DOS Batch Forum
Topic: Help please - sort one url per line with batch file
Replies: 20
Views: 15043

Re: Help please - sort one url per line with batch file

Hi Ben,

Thanks for your help.
This is what I need, but I only get the first two url's in "url.txt' sorted in the "url.lst'' file.
All the other url's in the "url.txt' file is ignored.

Any suggestions, what I should do.

Thanks
Philip
by philip123
19 Jun 2015 08:28
Forum: DOS Batch Forum
Topic: Help please - sort one url per line with batch file
Replies: 20
Views: 15043

Help please - sort one url per line with batch file

Hi, I'm new to this forum. I have a text file containing hundreds of website url's in it, they are all separated by a single spaces. I need to sort the url's so that I end up with a text file(with all url's) that contains only one url per line, in no particular order. Change this: google.com youtube...