Hi To make a file hidden is system dependent. In UNIX if a file name starts with . ( a period e.g. .myfile ) then it is considered to hidden whereas on windows you have to set its property as hidden in windows. On windows operating system you cannot set the hidden property using any Java API. You will have to use native method to make a windows file hidden.