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
VB.NET Threading and sending data/objects between threads?
Mixed tooltips using AddTool (GetDlgItem (IDC_THIS), IDC_THIS) and AddTool (this, LPSTR_TEXTCALLBACK) how to.
Calling a secure web servie with WCF client
Exporting to Excel From Visual Foxpro Excel Object Creating 2 Digit Year, Not 4 Digit
Purge Deleted items from database immediatly after message recall
Web Services Cross Browser Support
csv delimeter problem when importing to adp
CPropertySheet vs. CTabCtrl
How to use Decimal Data Type in VBA code
Exporting report to excel