Execute shell commands without invoking the interpreter

Published Thu, Oct 8 2009 13:40

Question: “I need to run the rd command from the runonce key in the registry. If i write the command line “rd C:\folder”, the system reply with the error message: rd command not found”

Answer: “The problem is that the rd command needs to be executed by the CMD shell. To make it works without opening the shell window, you have to execute “cmd /c rd C:\folder

by Adriano