cmd command to hide folder

C
// TO HIDE 
// OPEN FOLDER>GO TO PATH>TYPE cmd>ENTER
attrib +h +s +r folder-name

// TO UNHIDE 
// OPEN FOLDER>GO TO PATH>TYPE cmd>ENTER
attrib -h -s -r folder-name//Just use the following command

//attrib +s +h folder-path

Source

Also in C: