system("mkdir C:\Ring\docs") fopen("C:\Ring\docs\output.txt", "w+") system("mkdir docs") fopen("output.txt", "w+")