Dos .bat: Create XML From Directory

I have a .bat file I use to create XML from a list of files. I would like this .bat file to do 2 thing that I cannot figure out:

1- add an auto-incremented NUMBER for the files, so that the avatarid node has a number.

2- use the file name as the NAME node, but without the .swf extension

So the xml generated should look like this: (i will comment out so it can post here, often code gets deleted on these sites)

This is a 5 minute job for a smart programmer. I'll attach my bat file with an example of how I want the xml

would be good if I could also get the option for the NAME node in all capital letters

windows/dos programming job not JSP

Taidot: JSP

Näytä lisää: create xml bat, dos create xml file, dos file xml, bat create xml file directory, dos create xml, bat file create xml file, bat file create xml, programmer xml, node job, how to look for a job as a programmer, dos bat create xml, xml post, i want do job from here, DOS, create name, create job, auto comment sites, code create, auto post comment post, extension post, auto comment post, auto generated xml, auto auto comment, create example, add post sites list

Tietoa työnantajasta:
( 37 arvostelua ) Anchorage, United States

Projektin tunnus: #521104

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


please check the PM,thanks!

$50 USD 0 päivässä
(1 arvostelu)

I will complete this project on date. Provide me the input file format.

$100 USD 5 päivässä
(0 arvostelua)

I am intrested to work on this project . Please give me an opportunity to work on this project

$100 USD 10 päivässä
(0 arvostelua)

Just done. Please check PM.

$50 USD 0 päivässä
(0 arvostelua)

Hi, I can give you the soltion for 40$!

$40 USD 0 päivässä
(0 arvostelua)