using HTMLValidator in batch files

For topics about current BETA or future releases, including feature requests.
Post Reply
User avatar
roedygr
Rank V - Professional
Posts: 367
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

using HTMLValidator in batch files

Post by roedygr »

I have not yet nailed down exactly what is happening, but my batch files behave differently
when I invoke htmlvalidator depending it if it already running or if it has to start afresh.

I would like some way to make them behave consistently, as if it were not already loaded.

At this point I can't be more specific. I don't yet know just what is happening, just that my batch files don't work when HTMLValidator is already running.

I think it may be the subsequent steps start running even before HTML validator has done its thing.
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: using HTMLValidator in batch files

Post by Albert Wiersch »

That's strange. Of course I would need to know the details to determine exactly what is happening.

You may want to try adding the -msgwindow option to run a separate instance... like this:

Code: Select all

cmdlineprocessor.exe -msgwindow batchinstance ...
The it should start a new instance if it's already running (unless the already running instance was already launched with the same msgwindow name).

You may need to add the same -msgwindow option to all cmdlineprocessor.exe calls you are making in the batch file, so they all work using the same instance.

Here is more information:
http://www.htmlvalidator.com/current/do ... d_line.htm
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply