unable to run a script localy on the ds
Hello members,
I'm new to scripting. I wrote the folowing script
[code]
'vbscript
Dim FSO, objFile, strDestin, strFile
Set FSO = CreateObject("Scripting.FileSystemObject")
strFile = inputbox("In welke NDS container moet dit werkstation komen?", "ZENWorks import")
strDestin = "C:\Program Files\Altiris\eXpress\Deployment Server\Sysprep\wsscript\wsimport.txt"
Set objFile = FSO.CreateTextFile(strDestin, True)
objFile.Write strFile
objFile.Close
[\code]
and it has to run localy on the DS server. I use this txt file later on the cliënt to do an automatic Zenimport. But when i run it, it keeps running, but on the DS nothing happens. It looks like the script is waiting for my input, but there is no inputbox. What is wrong?
greetz Richard
|