Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - How to call msxsl from a batch file? [Thread Next] RE: How to call msxsl from a batch file?To: NULL Date: 2/3/2005 11:17:00 PM Never mind, I figured it out. Guess attempting to write batch files at 2am isn't the best idea. :) In case anyone is wondering, here is all it took: for /R %%G in (*.xml) DO msxsl.exe %%G MyTransform.xsl -o %%G "PMChick118" wrote: > I need to do a quick and dirty verification of an xsl. I can successfully > run msxsl for a single file from the command line or from a batch file, but > what I need to do is to run it over several hundred files all at once. I > can't figure out how to do this since msxsl from what I can tell only take a > single input file name and a single output file name. Has anyone done this? > I'm new to batch files, but I saw there is a "for /r" command that looks like > it might be useful, but I don't know how I would use that with msxsl... Any > help would be greatly appreciated. Below is an exampel of my starting batch > file that makes this work for a single file... > > :: transform.bat > @ECHO OFF > > C: > CD\My Folder > msxsl C:\My Folder\InputFile.xml MyTransform.xsl -o C:\My > Folder\OutputFile.xml > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
