DOS - Services Summary - File Operations Common use: Description Version Function ----------------------------------------------------- ---------- ----------- File Create (DOS type) Int\21f\5B File Open (return file handle) Int\21f\3D File Pointer Move (read-write pointer) Int\21f\42 File Read Int\21f\3F File Write (file specified by file handle) Int\21f\40 File Close Int\21f\3E File Rename Int\21f\56 File Delete Int\21f\41 File parse pathname Int\21f\60 Description Version Function ----------------------------------------------------- ---------- ----------- File Attribute Set/Get Int\21f\43 File Close (FCB) Int\21f\10 File Close Int\21f\3E File Commit (DOS 3.3) Int\21f\68 File Create (DOS type) Int\21f\5B File Create (extended) (DOS 4.0) (Int\21f\6C) File Create (with a unique filename) Int\21f\5A File Date Get/Set Int\21f\57 File Delete (FCB) Int\21f\13 File Delete Int\21f\41 File Directory Entry Find Matching First Int\21f\11 File Directory Entry Find Matching Next Int\21f\12 File Directory Entry Find or Create Int\21f\16 File Find Matching First Int\21f\4E File Find Matching Next Int\21f\4F File Handle Count Set (DOS 3.3) Int\21f\67 File Handle Create and Return Int\21f\3C File Handle Duplicate Int\21f\45 File Handle Duplicate (force) Int\21f\46 File Load or Execute (program file) Int\21f\4B File Lock Int\21f\5C File Name Parse (from the command line) Int\21f\29 File Open (FCB) Int\21f\0F File Open (return file handle) Int\21f\3D File Open (extended) (DOS 4.0) (Int\21f\6C) File Pointer Move (read-write pointer) Int\21f\42 File Read Int\21f\3F File Read Random (FCB) Int\21f\21 File Read Random Block (FCB) Int\21f\27 File Read Sequential (FCB) Int\21f\14 File Record Count Return (FCB) Int\21f\23 File Record Size Set (FCB) Int\21f\24 File Rename Int\21f\56 File Rename (FCB) Int\21f\17 File Time Get/Set Int\21f\57 File Unlock Int\21f\5C File Write (file specified by file handle) Int\21f\40 File Write Random (file specified by File Control Block) Int\21f\22 File Write Random Block (file specified by File Control Block) Int\21f\28 File Write Sequential (file specified by File Control Block) Int\21f\14 Int\21f\29 parse the command line for file name Int\21f\60* parse pathname