Search found 2 matches

by loh6789
02 Aug 2020 02:27
Forum: DOS Batch Forum
Topic: Categorize file extension in .txt output
Replies: 3
Views: 3928

Re: Categorize file extension in .txt output

unttested, but this should be close to what you are trying to achieve. if exist Files.txt del Files.txt for %%A in (asi ini cs asi) do dir /O:D /T:W *.%%A >> Files.txt for %%A in (asi ini cs asi) do dir /O:D /T:W /s *.%%A >> Files.txt It works as same as what I already have lol, but thanks anyway :...
by loh6789
01 Aug 2020 11:05
Forum: DOS Batch Forum
Topic: Categorize file extension in .txt output
Replies: 3
Views: 3928

Categorize file extension in .txt output

I'm not an expert in this field and I'm learning right now, I'm sorry if I'm too noob for you guys :D Okay my script is dir /O:D /T:W *.asi;*.ini;*.cs;*.asi >> Files.txt dir /O:D /T:W /s *.asi;*.ini;*.cs;*.asi >> Files.txt and it shows something like this in my .txt file Directory of C:\Users\user\D...