[main] Title=Make directories Description=This script will create all basic directories needed for the PE build Selected=True Locked=true Level=1 Version=006 Author=Peter Schlang Updates=NativePE Contact=http://Bootland.pt.vu Date=2007-FEB-18 Download_Level=0 [ClearTarget] If,ExistDir,"%TargetDir%",Echo,"Deleting [%targetdir%]" If,ExistDir,"%TargetDir%",DirDelete,"%TargetDir%" If,ExistDir,"%TargetDir%",ShellExecute,"Hide","cmd.exe","/c attrib.exe#$s-s#$s-r#$s#$q%TargetDir%#$q#$s&&RD#$s/S#$s/Q#$s#$q%TargetDir%#$q" If,ExistDir,"%TargetDir%",If,ExistDir,"%BaseDir%\Projects\NativePE",Run,"%BaseDir%\Projects\NativePE\script.project",ClearTarget If,ExistDir,"%TargetDir%",Message,"%TargetDir% could not be deleted, build terminated.",error If,ExistDir,"%TargetDir%",Halt,"%TargetDir% could not be deleted!" [MakeDirs] Echo,"Making directories using path [%targetdir%].." DirMake,"%TargetDir%" DirMake,"%targetdir%\i386" DirMake,"%targetdir%\i386\Fonts" DirMake,"%targetdir%\i386\Inf" DirMake,"%targetdir%\i386\system32" DirMake,"%targetdir%\i386\system32\config" DirMake,"%targetdir%\i386\system32\drivers" [process] If,%ClearTarget%,Equal,1,Run,%ScriptFile%,ClearTarget If,notExistDir,%ISODir%,DirMake,"%ISODir%" If,NotExistDir,"%targetdir%",Run,%ScriptFile%,MakeDirs Run,%ScriptLog%,Process-log [EncodedFile-AuthorEncoded-makedirs.jpg] lines=0 0=eJyd03s403scB/DfbGyzORkmabltYhsrM0JHQptbymwmTOeEyiU5uqg4JY2wo/YsUeZ+CyO55F6nXE4XoqSRRDFJ0yrdXMp2pufpnH/OH+ec9/f5/vX5PN/n+3o+z0f+WP4cUHenudEAEAgE/Kw4gHwc0KYeDdsDAG5uBAAGfI98BHAGYCoqUBVlGBQKhcNhqkgtNSQCgVyloblCa42uvt4aXQzGAEcyMTAyw2IwphvwZustKBSKvomtvQ35R5Ilhbz8CAgOhyMRSB01NR2yIcaQ/J8jvwmgYAAbY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