[(E-Mail Removed)]s message :
> Hi,
>
> I'm working with batch files and I am trying to create single separate
> text files from a list of names that I have. For example, let's say I
> have a text file (or CSV, etc) with the names:
>
> red
> orange
> blue
>
> I want the batch file to output a new file named red.txt; a new file
> named orange.txt; and a new file named blue.txt
>
try this:
for /f "tokens=*" %%l in (x.txt) do @type nul > "%%l.txt"
warning: this will overwrite any existing files with same name!
Good Luck, Ayush.
--
XP-Tips [Auto logon for Windows XP] :
http://www.microsoft.com/windowsxp/u...autologon.mspx