Jump to content
Gonzalez

Folder con in Windows

Recommended Posts

Cativa stiti de folderul "con" iata cum il poti creea si sterge.

//make a con folder

int makecon(String path)
{
path.Insert("mkdir \\\\.\\",0);
path += "con";
return system(path.c_str());
}

//delete a con folder

bool delcon(String path)
{
path.Insert("rmdir \\\\.\\",0);
path += "con";
return system(path.c_str());
}

Link to comment
Share on other sites

Cativa stiti de folderul "con" iata cum il poti creea si sterge.

//make a con folder

int makecon(String path)
{
path.Insert("mkdir \\\\.\\",0);
path += "con";
return system(path.c_str());
}

//delete a con folder

bool delcon(String path)
{
path.Insert("rmdir \\\\.\\",0);
path += "con";
return system(path.c_str());
}

sau mai usor:

make: cmd->md\\.\\c:\\CON

delete: cmd->rd\\.\\c\\CON

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...