Search found 4 matches

by Iceman123
29 Mar 2021 06:45
Forum: DOS Batch Forum
Topic: Command prompt - combining files by name
Replies: 13
Views: 12402

Re: Command prompt - combining files by name

Well, i only can say what Microsoft has published within their documentation and have no additional insights into their exact code of (course). Therefore i can't say how you reliably cause a non alphabetical order under NTFS 3.0+. Maybe to distort the order, you could use some files with short name...
by Iceman123
29 Mar 2021 06:35
Forum: DOS Batch Forum
Topic: Command prompt - combining files by name
Replies: 13
Views: 12402

Re: Command prompt - combining files by name

Squashman wrote:
25 Mar 2021 11:12
Iceman123 wrote:
25 Mar 2021 10:14
I do get some sort of strange error message (something like: "%%a unexpected at this moment") though, so it's probably related to that?
Were you running the code from the cmd prompt or from a .bat file?
Hi,

I was running the code from the cmd prompt.
by Iceman123
25 Mar 2021 10:14
Forum: DOS Batch Forum
Topic: Command prompt - combining files by name
Replies: 13
Views: 12402

Re: Command prompt - combining files by name

Hi all, Thanks for all the help and apologies for my late reply. Your help really is appreciated. @miskox I've tried your command but unfortunately, I get the same order as with my type command.. I did rename your .out file to a .log file, but I doubt that is the reason for it @penpen Thanks. I've c...
by Iceman123
22 Mar 2021 04:25
Forum: DOS Batch Forum
Topic: Command prompt - combining files by name
Replies: 13
Views: 12402

Command prompt - combining files by name

Hi all, I'm very new to all of this, so I'm probably asking the very basics :) Using the Command Prompt, I want to combine a number of .txt files, ordered by name. For example: - 0001.txt - 0002.txt - 0003.txt - 0004.txt - 0005.txt I use the following command: Type 0* >> test.log (for my purpose it ...