len=strlen(string);
if(len==){
strcpy(commanderrer);
}
else{
//获得命令
s=NULL;
s=strchr(string );
if(s!=NULL){
*s=\;
}
strcpy(commandstring);
//测试命令类型
if((!strcmp(commandCD))||!strcmp(commandcd)){
comm=;
}
else{
if((!strcmp(commandCREATE))||!strcmp(commandcreate)){
comm=;
}
else{
if((!strcmp(commandDEL))||!strcmp(commanddel)){
comm=;
}
else{
if((!strcmp(commandLSALL))||!strcmp(commandlsall)){
comm=;
}
else{
if((!strcmp(commandMD))||!strcmp(commandmd)){
comm=;
}
else{
[] [] [] [] [] [] [] [] [] [] [] [] []