hello every body
code below make directory in an address that is define in data part.

; create c:\emu8086\vdrive\C\test1
mov dx,ah 
mov ah, 39h 
int 21h

but i want to get address from user. i can do this with macros . anyone know this with intrrupts?

best Regard

you need to use a keyboard interrupt -- int 16h. Put it in a loop, saving each character in your own buffer, until user presses the Enter key. I would make this a separate function. You will have to check that user does not type spaces in the path because 16-bit code can not handle them.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.