C Program to Create directory in C using Interrupts.
Program :
1 2 3 4 5 6 7 8 9 | #include<dos.h> void main() { char *path = "BIN"; _AH = 0x39; _DX = (unsigned int) path; __int__(0x21); } |
output :
1 | <a href="https://www.c4learn.com/2011/12/folder_created.bmp"><img src="https://www.c4learn.com/2011/12/folder_created.bmp" alt="" class="aligncenter size-full wp-image-2652" /></a> |