powershell - How to set directory-property comments -


i'm trying find way set comments powershell directory. enter image description here

how can set folder comments (like contains contact files)? infos

this quite interesting question did bit of research. not trivial 1 hope. in fact @ least on w10 impossible via ui found way powershell:

first have make folder system folder (somehow comments shown on system folders on machine, got test on yours yourself):

attrib +s <folderpath> 

not sure if can cmdlet (probably no time research right now).

then have create "desktop.ini" file inside folder so:

"[.shellclassinfo]","infotip=your comment here"|out-file <folderpath>\desktop.ini 

and thats :)


Comments