Pessoal tenho esse script que consegui com ajuda de voces, e que funciona perfeitamente. Porem comentei a linha numero 8 e acrescentei a linha 9 mas esta dando erro de instrucao esperada já tentei colocar entre aspas mas mesmo assim da o erro. O que estou errando?
1 Set FSO = createobject("scripting.filesystemobject")
2 set shell = createobject("wscript.shell")
3 If fso.folderexists("C:\Cacic\") = false then
4 Set objfolder = fso.createfolder("C:\Cacic\")
5 shell.run "ftp -d -i -n -s:\\SERVIDORDC\NETLOGON\ftp.txt ftp.dominio.com.br", 0,true
6 shell.run "C:\Cacic\chkcacic.exe"
7 Else
8 'shell.run "C:\Cacic\cacic2.exe"
9 shell.run c:\windows\system32 lsrunas /user:usuarioadmin /password
enha /domain
OMINIO /command:"c:\cacic\cacic2.exe" /runpath:c:\
10 End If
Obrigado.