Hi. how do i create directory , delete directory and change diffrent directory. thank you
Posted on 2007-05-07 03:01:54 by erlikhan
CreateDirectory, RemoveDirectory, SetCurrentDirectory
Posted on 2007-05-07 03:28:35 by sinsi
thank you agin and sory.are  this commants in irvine32 or (another lib)
can u sent a example program . thank you
Posted on 2007-05-07 03:57:38 by erlikhan
BOOL CreateDirectory(
  LPCTSTR lpPathName,
  LPSECURITY_ATTRIBUTES lpSecurityAttributes
);

BOOL SetCurrentDirectory(
  LPCTSTR lpPathName
);

BOOL RemoveDirectory(
  LPCTSTR lpPathName
);

All from MSDN

You show me your code and I might show you mine.
Posted on 2007-05-07 05:40:18 by sinsi
i found in internet some information but they are a particles and i cant write a program. i am sending to my founds. thank you again.

Function 39h (57)        Create Directory (MKDIR)

    Create a subdirectory.

      On entry:      AH        39h
                      DS:DX      Pointer to directory name to create (ASCIIZ
                                string)

      Returns:      AX        Error code, if CF set

      Error codes:  3          Path not found
                      5          Access denied, or pathname already exists.

                      Call Function 59h for extended error code information
                      for DOS 3.0 and above.

      Network:      Requires Create access rights

  --------------------------------------------------------------------------

    Function 39h (MKDIR) creates a subdirectory whose path is specified in
    the ASCIIZ string at address DS:DX; the string length is limited to 64
    characters. If the function is unable to create the directory, it sets
    the Carry Flag and returns an error code in AX.

      Notes:        The directory name may include a drive letter.

                      If any of the parent directories in the path do not
                      exist, the directory is not created.
---------------------------------------------------------------------------

Function 3Ah (58)        Remove Directory (RMDIR)

    Remove the specified subdirectory.

      On entry:      AH        3Ah
                      DS:DX      Pointer to directory name to be removed
                                (ASCIIZ string)

      Returns:      AX        Error code, if CF set

      Error Codes:  3          Path not found
                      5          Access denied (directory not empty)
                      16        Cannot delete current directory

                      Call Function 59h for extended error code information
                      (DOS 3.0 and above).

      Network:      Requires Create access rights.
--------------------------------------------------------------------

Function 3Bh (59)        Change Directory (CHDIR)

    Change the current directory.

      On entry:      AH        3Bh
                      DS:DX      Pointer to name of new default directory
                                (ASCIIZ string)

      Returns:      AX        Error code, if CF is set

      Error Codes:  3          Path not found

                      Call Function 59h for extended error code information
                      (DOS 3.0 and above).

  --------------------------------------------------------------------------

    Function 3Bh (CHDIR) changes the current directory to the directory
    whose path is specified in the ASCIIZ string at address DS:DX; the
    string length is limited to 64 characters.  The path name may include
Posted on 2007-05-07 23:51:45 by erlikhan
thats dos based interrupt methods...
what you were told were 32 bit win32 api

now please explain EXACTLY what you're trying to do
and what this irvine32 thing is...

Posted on 2007-05-08 02:20:06 by evlncrn8
i need to both of them (dos and other 32bit) but i cant write code.
Posted on 2007-05-08 03:46:37 by erlikhan