Re: creating directory in dos, EuStudio
- Posted by "Darth Maul, aka Matt" <Uglyfish87 at HOTMAIL.COM> Jul 25, 2000
- 424 views
I know how to make a folder in Windows using the Kernel: include dll.e include machine.e constant kernel=open_dll("Kernel32.dll"), -- CreateDirectoryA(lpszFolderName, securityAttributes) -- securityAttributes is only usefull when using WinNT createDirectory=define_c_func(kernel,"CreateDirectoryA",{C_POINTER, C_LONG}, C_INT) atom ptr ptr=allocate_string("My test folder") if c_func(createDirectory, {ptr, 0}) then -- successful end if free(ptr) But to make a folder in DOS, download DOS.E.