Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Make a Read-Only File WriteableContent of Make a Read-Only File Writeable.vbsMD5 Hash: 2741F0D3638C07A1AA01BB1E47E5FFC0 |
||
Const READ_ONLY = 1
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.GetFile("C:\Scripts\Computers.txt") If objFile.Attributes AND READ_ONLY Then objFile.Attributes = objFile.Attributes XOR READ_ONLY End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |