The BAT language will limit us. Why not look at POWERSHELL or such? That is, the newer script languages?
I have a text file exported from the movie collectorz program and I want to add my DVD collection to xbmc through stub files. I found this code and modified it to give me the files.
[code]for /f "tokens=*" %%l in (aaa.txt) do echo %%l > "%%l.dvd.disc"[/code]
now I'm realizing I want to create a directory named from the list and place the created file into that directory. also I want to add the xml into the file -
[code]<discstub> <message>%moviename% is located in the DVD rack</message></discstub>[/code]
where "moviename" is taken from the aaa.txt file this is way beyond my tiny brains ability so I need help....LMAO
the text file looks like this...
The Adjustment Bureau (2010)
Alien (1979)
Aliens (1986)
Alien:_Resurrection (1997)
Alien Vs. Predator (2004)
Aliens Vs Predator - Requiem (2007)
Apollo 18 (2011)Avatar (Extended_Cut) (2010)Back To The Future (1985)
Back To The Future II (1989)
Back To The Future III (1990)
and I want to end up with...
a folder named "The Adjustment Bureau (2010)" with a file named "The Adjustment Bureau (2010).DVD.Disc" in it and the file to contain the xml code from above with "The Adjustment Bureau (2010)" as the moviename.
I have spent hours trying different things and all have failed (and failed well I might add...LOL) I have almost 3,000 DVDS and would hate to have to do this by hand. and I'm sure others could use something similar is a bat file the best thing to use? would vbs be better? anyone know of a program that will do this? any help or thoughts welcome.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic