Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Arty2
Created November 29, 2015 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arty2/d894c85f3d04180984af to your computer and use it in GitHub Desktop.
Save Arty2/d894c85f3d04180984af to your computer and use it in GitHub Desktop.
Generate directory structure for architecture related projects.
:: project_generate-structure
:: creates a directory structure for a new architectural competition
:: archi.tect.gr
@echo off
setlocal
:PROMPT
set project=XXX_PROJECT
set /p project= "Main directory name (current: %project%): "
If exist %project% choice /c yn /m "the directory %project% already exists, do you want to merge it?"
if ERRORLEVEL 2 exit
echo %project%
set directories=(^
"00_ADMIN"^
"01_BRIEF"^
"03_MODELS"^
"04_PLANS"^
"04_PLANS\01_FLOOR-PLANS"^
"04_PLANS\01_FLOOR-PLANS\SAMPLE"^
"04_PLANS\01_FLOOR-PLANS\SAMPLE\PRODUCTION"^
"04_PLANS\02_ELEVATIONS"^
"04_PLANS\02_ELEVATIONS\SAMPLE"^
"04_PLANS\02_ELEVATIONS\SAMPLE\PRODUCTION"^
"04_PLANS\03_SECTIONS"^
"04_PLANS\03_SECTIONS\SAMPLE"^
"04_PLANS\03_SECTIONS\SAMPLE\PRODUCTION"^
"04_PLANS\04_DETAILS"^
"04_PLANS\04_DETAILS\SAMPLE"^
"04_PLANS\04_DETAILS\SAMPLE\PRODUCTION"^
"05_DIAGRAMS"^
"05_DIAGRAMS\SAMPLE"^
"05_DIAGRAMS\SAMPLE\PRODUCTION"^
"06_RENDERINGS"^
"06_RENDERINGS\SAMPLE"^
"06_RENDERINGS\SAMPLE\PRODUCTION"^
"07_PANELS"^
"07_PANELS\PRODUCTION"^
"90_ASSETS"^
"98_MOODBOARD"^
"90_TESTS"^
)
for %%i in %directories% do (
md %project%\%%i
)
::echo SAMPLE Description of what sample contains > INDEX.txt
echo %project% folder structure created
:END
timeout /T 5
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment