Search found 5 matches

by LiuKang
18 Jul 2013 06:54
Forum: DOS Batch Forum
Topic: Possible to convert M$ Word Doc into .TXT?
Replies: 15
Views: 14989

Possible to convert M$ Word Doc into .TXT?

Hi!

I have a many different folders that contains alot of Microsoft Word 97 - 2003 Documents.

I want to go into a folder and execute a .bat which convert these into a new folder within the current folder with .txt as output.

Is this possible?
by LiuKang
18 Jul 2013 04:59
Forum: DOS Batch Forum
Topic: Merge .txt files in folders, adding commas and quotationmark
Replies: 8
Views: 7804

Re: Merge .txt files in folders, adding commas and quotation

penpen wrote:The only problem i got is with the ampersand (&). I fixed it, maybe this helps you


What can I say, this fixed the problems.

Amazing! :lol:
by LiuKang
17 Jul 2013 08:59
Forum: DOS Batch Forum
Topic: Merge .txt files in folders, adding commas and quotationmark
Replies: 8
Views: 7804

Re: Merge .txt files in folders, adding commas and quotation

penpen wrote:Just help those closest to you as much as you can, as much as you want! :D

Regards,
penpen.


Will do! :)

One thing:

If the filename contains any of these chars
-åäö
it messes with the batch file and the output file gets empty on this line.

Is it possible to make it work?
by LiuKang
16 Jul 2013 16:18
Forum: DOS Batch Forum
Topic: Merge .txt files in folders, adding commas and quotationmark
Replies: 8
Views: 7804

Re: Merge .txt files in folders, adding commas and quotation

If the lines of the textfile you want to combine are not too long (around 8192 bytes), and if the combined file should be created in the same directory then the following may help you: @echo off cls setlocal set "combined=combined.txt" ( for %%a in (*.txt) do ( if not "%%a" == &...
by LiuKang
16 Jul 2013 04:40
Forum: DOS Batch Forum
Topic: Merge .txt files in folders, adding commas and quotationmark
Replies: 8
Views: 7804

Merge .txt files in folders, adding commas and quotationmark

I have different folders with a lot of .txt files. I want to be able to merge the .txt-files in each folder, so the location of the input or output-files should not be specified in the code, the .bat-file is to be placed in any folder and output file should also be generated here. Example: meat.txt ...