I am runnig an application that is creating directories based on the current date and using the filer !mkdir command, this calls foxrun.pif. In WIN2K this leaves a "Inactive Foxpro Command" window open after the command runs and this leaves the application hanging. I tried creating the directory useing fcreate() but am not having any luck. Is there some other method of creating directories on the fly or a method to close this window so the application won't hang?