createprocess takes dir as a process name RRS feed

  • Question

  • When I take an input from user for the name in c for windows function createprocess, if the user enters 'dir' as a process name it creates process with the name of dir. How can i avoid it?

    Saturday, May 16, 2015 12:12 PM