Hi everyone,

Because QT's rmdir can't really remove the directory which is not empty ,

therefore, i choose to use QPrcess to execute dos coommand "RD" on windows,

however it can't work ...

I type in prmot windows and it works....

Should the environent set worng ??

Here is my code:

void D_DirView::removeFile(void)
{
if( m_Process )
delete m_Process;

m_Process = new QProcess(this);
QStringList arguments << "/Q/S" << "D:\\tmp";
m_Process->start( "RD", arguments )
}