Search found 7 matches

by JDV
20 Jan 2011 09:50
Forum: DOS Batch Forum
Topic: BatchSubstitute Maximum Input/Output
Replies: 8
Views: 10143

Re: BatchSubstitute Maximum Input/Output

people should stop using batch to do things like file processing (and others), especially if its XML or HTML. Use a programming language with XML/HTML facilities, ( or at least with regular expression support + string manipulation functions ) I know. I'm just rather....limited in that area. No, bec...
by JDV
19 Jan 2011 16:22
Forum: DOS Batch Forum
Topic: BatchSubstitute Maximum Input/Output
Replies: 8
Views: 10143

Re: BatchSubstitute Maximum Input/Output

http://support.microsoft.com/kb/830473 "Modify programs that require long command lines so that they use a file that contains the parameter information, and then include the name of the file in the command line. For example, instead of using the ExecutableFile.exe Parameter1 Parameter2 ...Para...
by JDV
19 Jan 2011 13:28
Forum: DOS Batch Forum
Topic: BatchSubstitute Maximum Input/Output
Replies: 8
Views: 10143

Re: BatchSubstitute Maximum Input/Output

Thanks. The length of a line is probably it.
All the deleted lines are fairly long, while the sections that are left are more cascaded.

I would have thought the lines would be truncated instead of deleted. Is this limit part of the Bat file or just something with CMD? Can it be adjusted?
by JDV
19 Jan 2011 12:07
Forum: DOS Batch Forum
Topic: BatchSubstitute Maximum Input/Output
Replies: 8
Views: 10143

BatchSubstitute Maximum Input/Output

Is there some limit to the amount of text that BatchSub (the improved, forum version) can search through? I'm wondering because I'm using BatchSub in a second project involving searching/replacing text in an XML file & saving as a new XML (the first project was near identical as worked perfectly...
by JDV
20 Dec 2010 10:36
Forum: DOS Batch Forum
Topic: BatchSubstitute Output Width
Replies: 5
Views: 6723

Re: BatchSubstitute Output Width

That updated version did the trick.
Thanks very much!

For anyone finding this post looking for multiple instances of the .bat, I ended up creating another batch file to:
CALL BatchSubstitute.bat [stuff you want #1 to do]
CALL BatchSubstitute.bat [stuff you want #2 to do]
by JDV
18 Dec 2010 20:22
Forum: DOS Batch Forum
Topic: BatchSubstitute Output Width
Replies: 5
Views: 6723

Re: BatchSubstitute Output Width

Jeb, I am using the version from the File Examples page . My input file is an XML created from the SQLCMD command. I honestly don't know how to tell what the encoding is. This MSDN article states that a -u parameter (which I didn't use) results in Unicode output, but I don't know what output results...
by JDV
17 Dec 2010 15:56
Forum: DOS Batch Forum
Topic: BatchSubstitute Output Width
Replies: 5
Views: 6723

BatchSubstitute Output Width

First, thanks for making this tool available. It seems as though it will solve some problems I had creating a properly formed RSS XML. The only problem is that the output is truncated after 1028 columns. I had a similar problem with the SQLCMD which creates the XML to start with, but that was remedi...