Question : DOS/Windows Script

Hi,
I could have done this 10 years ago but have forgotten how !

I have an ascii file of customers names in the format;

John Smith
Paul Jones
George Martin

I want to create a sub directory in my Windows 2007 environment for each customer.
The name of the subdirectory should be the customers name.

I have not written such a script for over 10 year and need it written in full if possible.
I guess the script is just a simple loop through each name..

Answer : DOS/Windows Script

This should be on the right track

@echo off
set BaseDir=c:\temp
for /f "tokens=*" %%A in (cust.txt) do mkdir "%BaseDir%\%%A"

~bp
Random Solutions  
 
programming4us programming4us