Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python windows hide files

import win32con, win32api
file = 'myfile.txt' # can be any extension
win32api.SetFileAttributes(file,win32con.FILE_ATTRIBUTE_HIDDEN)
 
PREVIOUS NEXT
Tagged: #python #windows #hide #files
ADD COMMENT
Topic
Name
1+2 =