@echo off rmdir /q /s src\single_dir_for_windows_kernel 1>nul 2>nul mkdir src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_abstraction\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_freelist\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_liblfds\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_queue\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_ringbuffer\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_slist\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y src\lfds611_stack\* src\single_dir_for_windows_kernel 1>nul 2>nul copy /y sources.static src\single_dir_for_windows_kernel\sources 1>nul 2>nul erase /f src\single_dir_for_windows_kernel\driver_entry.c 1>nul 2>nul echo Windows kernel static library build directory structure created. echo (Note the effects of this batch file are idempotent).