lwwb
12 years agoNew Contributor
Create textfile on mapped network drive
With Windows 8 I'm not able to create a textfile on a mapped network drive. The code worked on Windows 7 and before that, but now TC tells me it cannot find the path. As the path is there, I assume Windows 8 doesn't allow him to write on that location. Furthermore, running a test.js with the same lines manually did work:
var Filename = "Q:\\updatefiles.lock"
var sFSO = "Scripting.FileSystemObject"
var fso = new ActiveXObject( sFSO )
var TF = fso.CreateTextFile(Filename, true)
TF.Close()
Anyone a clue how I can give TC9 the same rights?
var Filename = "Q:\\updatefiles.lock"
var sFSO = "Scripting.FileSystemObject"
var fso = new ActiveXObject( sFSO )
var TF = fso.CreateTextFile(Filename, true)
TF.Close()
Anyone a clue how I can give TC9 the same rights?