please dont rip this site


Function 5Ah Create Temporary File (DOS 3.x)

Creates a file with a unique name, in the current or specified

directory on the default or specified disk drive, and returns a

handle that can be used by the program for subsequent access to

the file. The name generated for the file is also returned in a

buffer specified by the program.

entry AH 5Ah

CX attribute

00h normal

01h read only

02h hidden

04h system

DS:DX segment:offset of ASCIIZ path

return AX handle

DS:DX segment:offset of complete ASCIIZ path and file name

CF set if error

AX error code

note 1) The ASCIIZ path supplied to this function should be followed by at

least 13 additional bytes of buffer space. MS-DOS adds a backslash (\)

to the supplied path, if necessary, then appends a null-terminated

filename that is a function of te current time.

2) Files created with this function are not automatically deleted when the

caling program terminates.

3) The funciton fails if:

a) any element of the pathname does not exist.

b) The file is being created in the root directory and the root

directory is full.

4) If the program is running on a network, the file is created and opened

for read/write access in compatibility sharing mode.

5) See also Int\21f\3C and Int\21f\5B which provide additional

facilities for creating files.




file: /Techref/int/21f/5a.htm, 1KB, , updated: 1999/4/26 11:31, local time: 2024/12/4 08:15,
TOP NEW HELP FIND: 
18.219.209.144:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/Techref/int/21f/5a.htm"> int 21f 5a</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .