Microsoft
Software
Hardware
Network
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
Using batch file to start programs with switches
Orphan threads in .net, are they stopped by Garbage Collector?
multi findfirst criteria string
Rules in error: Cannot remove messages from the folder.
Code retriving duplicated numbers.
sharepoint search does not return results
Pause sub, open form, continue sub to update
Unexpected error 32811
Export gridview to word and excel. ms word 2007 & excel 2007
How to get SSL working on extended 'Internet' SharePoint site