1. creating directory in dos, EuStudio

------=_NextPart_000_0151_01BFECF4.29EDF820
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

do you know how do i create directory with long name in dos, or with =
exw.exe, running the console window, but not with api function?

i need it becuase i created program that lists all the include files =
which specified runable file needs to run. i want then to copy them all =
to one directory so you can then post it on internet or something and it =
will work.
anybody insterested in it? it already works, it lists all the include =
file paths.
i created it as part of my editor i am doing. it will soon be ready, i =
think.
it uses MDI windows, it supports workspaces...=20

------=_NextPart_000_0151_01BFECF4.29EDF820
        charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>do you know how do i create directory =
with long=20
name in dos, or with exw.exe, running&nbsp;the console window, but not =
with api=20
function?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>i need it becuase i created program =
that lists=20
all the include files which specified runable file needs to run. i want =
then to=20
copy them all to one directory so you can then post it on internet or =
something=20
and it will work.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>anybody insterested in it? it already =
works, it=20
lists all the include file paths.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>i created it as part of my editor i =
am doing. it=20
will soon be ready, i think.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>it uses MDI windows, it supports =
workspaces...=20

------=_NextPart_000_0151_01BFECF4.29EDF820--

new topic     » topic index » view message » categorize

2. Re: creating directory in dos, EuStudio

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu