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
problem using DAO.Workspace and connecting to Access Database
Error on Running Powerpoint from Access
change range names with VBA?
How Display bitmap data (a variable, not a file) into a Picture Box with MFC or WIN32 ?
Disable printing in Internet Explorer (Want to prevet printing Sharepoint Lists)
Windows Vista Home Premium Password Issue
SCCM Dependancy on NetBios
How to add HP thin client with XPE to 2003 domain?
Error C00D11CD in Zune and Vista
Win 7, running 32bit software on a 64bit machine