Page 1 of 1

Hide a folder

Posted: Sat May 31, 2014 1:04 am
by shawnblc
Is there a way to hide a folder? Neither of the below are working.

Code: Select all

set the vis of folder "/path to folder/" to false
or

Code: Select all


hide folder "/pathToFolder/"


Re: Hide a folder

Posted: Sat May 31, 2014 1:09 am
by Simon
Hi shawn,
On Windows you'd shell("attrib +h fullPathToFolder")
might have to add +s not sure.

Simon

Re: Hide a folder

Posted: Sat May 31, 2014 1:18 am
by charms
On Linux and MacOS the equivalent would be to set a dot in front of the folder. You could just move the directory from it's original filename to ".yourfolder".

shell("mv yourfolder .yourfolder")

Re: Hide a folder

Posted: Sat May 31, 2014 1:28 am
by shawnblc
I'm on RMBP running 10.9.3 w/ VM Ware running Win 7 Ultimate, but I was more thinking of OSX for this.

Re: Hide a folder

Posted: Sun Jun 01, 2014 5:50 am
by jacque
charms wrote:On Linux and MacOS the equivalent would be to set a dot in front of the folder. You could just move the directory from it's original filename to ".yourfolder".

shell("mv yourfolder .yourfolder")


Or even easier, just use the" rename "command.