Ignore:
Timestamp:
Nov 9, 2000, 8:21:39 PM (25 years ago)
Author:
sandervl
Message:

create system32\drivers\etc during install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/initsystem.cpp

    r4526 r4578  
    1 /* $Id: initsystem.cpp,v 1.22 2000-10-25 19:46:59 sandervl Exp $ */
     1/* $Id: initsystem.cpp,v 1.23 2000-11-09 19:21:39 sandervl Exp $ */
    22/*
    33 * Odin system initialization (registry, directories & environment)
     
    88 * InitSystemAndRegistry creates:
    99 *      - SYSTEMDIR\drivers
     10 *      - SYSTEMDIR\drivers\etc
    1011 *  - WINDOWSDIR\SYSTEM
    1112 *      - WINDOWSDIR\AppData
     
    203204    strcpy(shellpath, InternalGetSystemDirectoryA());
    204205    strcat(shellpath, "\\Drivers");
     206    CreateDirectoryA(shellpath, NULL);
     207    strcat(shellpath, "\\etc");
    205208    CreateDirectoryA(shellpath, NULL);
    206209
Note: See TracChangeset for help on using the changeset viewer.