You are not logged in.
Pages: 1
Please can someone help me with editing an access denied text document?
Normaly i use this to add a line to text docs:
fname=Inputbox("Please enter the text you would like added")
Set ObjFso = Wscript.CreateObject("Scripting.FileSystemObject")
Set ObjFileHandle = _
ObjFso.OpenTextFile("C:\test.txt", 8, "True")
But this will not work for access denied document.
Offline
Access denied is the usual response if a file is locked for writing by another process or the ACLs are not permitting write access to the user running the script. In these scenarios this is the operating system working correctly, so I wouldn't hold your breath. If it's permissions, perhaps moving the file elsewhere (C:\ is a likely candidate for security lock down) will yield positive results.
cmd | *sh | ruby | chef
Offline
Pages: 1