Hi all,
Hope som1 can help, I´m getting mad.
IF GUIALLOWED THEN
SHELL(T50161."PH Files Path"+'RequestToken.bat')
ELSE BEGIN
//SHELL(CONSTRequestToken);
CREATE(WshShell);
WshShell.Run(T50161."PH Files Path"+'RequestToken.bat');
CLEAR(WshShell);
END;
I know that for shell you have to use text constant so, I did that (guiallowed). Basically the constant and the path before it´s the same.
I could not make it work.
I tried with WshShell.run ('Windows Script Host Object Model'.WshShell) but again seems not doing anything.
Any ideas?
thanks!
0
Answers
IF guiallowed prevents that.
But again shell on NAS ??? Don’t know if that’s the best way to go?
As guiallowed is false, then it should go to WshShell.Run. I even removed the guialloswd and go directly to WshShell.Run.
Yes, shell on nas because I have to run external program.
> What version are u on?
2009 forms.
> Check Event Log for clues
I forgot to do it. Anyway im thiking to try avoid shell by doing something else.