I wish to create a directory with the directory name assigned at runtime. Eg. While running, the program has to search for a file named abc.txt at path C: and if the file is present then create a directory named "abc" at C:\\temp\\
My understanding is if I use CreateDirectory(pathname) function, then I need to specify the path along with the directory name.