I am using the following command
IO.File.SetAttributes(Pth & FileP, FileAttributes.Hidden)
Its in a module which is called at the sub main but does not change the attributes of the file to hidden. Pth & FileP is a string "E:\Tareek.exe" which is a Usb storage device. The file attribute by default is not read only...
Can someone please tell me what the problem might be?