hiding folder using command

3 Ansichten (letzte 30 Tage)
ankur
ankur am 2 Nov. 2011
how may i hide a folder containing some data using command itself.. either through visibility or something else...??

Antworten (2)

Amith Kamath
Amith Kamath am 2 Nov. 2011
So if you are running windows, I assume system('attrib +s +h +r foldername') when you are in the directory containing the folder will help, or if you are using a unix based system, then all you need to do is to rename the requited folder with a . (period) before it, again by using system('mv foldername .foldername'). I've verified the unix version of this but I cannot do so for windows! Should work though! There is a native function which I just found out about in the other answer! :)

Jan
Jan am 2 Nov. 2011
fileattrib(FolderName, '+h');

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by