Re: Create Directory structure in alphabetical order




"John" <John@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9BCDDBA2-0E9C-4444-899B-A9904F7424EB@xxxxxxxxxxxxxxxx
Hello,
I would like to know what is the easiest way to create a new folder for
each
letter in the alphabet? without having to type mkdir a, mkdir b ....ect.
26
times every time I would like to create this structure.

v/r
john


Create & run this batch file:

@echo off
for %%a in (a b c .. x y z) do md %%a

You must add the missing letters instead of the dots.


.



Relevant Pages

  • Re: Renaming multiple files
    ... > Is there a way to rename multiple files where windows doesn't put a space ... > instead of John. ... Remove the "echo" command in Line10 when you're satisfied ... that the batch file does what you want it to do. ...
    (microsoft.public.windowsxp.general)
  • Re: oSQL - How do I run all .SQL files in a folder by running one batch
    ... > ECHO Please specify a folder like this: ... > ECHO to run all the SQL scripts in that folder ... you might look at John Bell's remarks. ... you can get the batch file to do that for you: ...
    (microsoft.public.sqlserver.tools)
  • Re: oSQL - How do I run all .SQL files in a folder by running one batch
    ... > ECHO Please specify a folder like this: ... > ECHO to run all the SQL scripts in that folder ... you might look at John Bell's remarks. ... you can get the batch file to do that for you: ...
    (microsoft.public.sqlserver.programming)
  • Re: oSQL - How do I run all .SQL files in a folder by running one batch
    ... > ECHO Please specify a folder like this: ... > ECHO to run all the SQL scripts in that folder ... you might look at John Bell's remarks. ... you can get the batch file to do that for you: ...
    (microsoft.public.sqlserver.connect)
  • Re: Persisting env vars in cmd windows
    ... The help text for the command you question goes like this: ... format by typing this: echo %date% ... If you don't then the batch file will fail. ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)

Loading