oren Posted June 28, 2011 Share Posted June 28, 2011 Is there a known problem using run( in windows 2003 servers and in windows 2008 servers??? Becuase I made a script that use run( after X sec of Idle time , and someone downloaded it and said the the script does not start his program Is there a known problem in those version of windows?? Thank you Link to comment Share on other sites More sharing options...
jvanegmond Posted June 28, 2011 Share Posted June 28, 2011 There is no known problem in these versions of Windows. In fact, there are a lot of people who can testament that it functions correctly. Including myself. Maybe you need to tell more about your problem. Are you running as service? github.com/jvanegmond Link to comment Share on other sites More sharing options...
oren Posted June 28, 2011 Author Share Posted June 28, 2011 (edited) This is the script While 1 Sleep(300) if $r = 0 Then $t= _Timer_GetIdleTime() if $t> $idle Then _PathSplit($pro,$a,$b,$c,$d) $path = $a & $b $q = run($pro&$argN ,$path,$inv) Sleep(1000) if $inv=@SW_HIDE Then $iconInd = _SysTrayIconIndex($q,2,$WinV) _SysTrayIconRemove($iconInd,$WinV) EndIf $r =1 EndIf EndIf if $r = 1 Then $t= _Timer_GetIdleTime() if $t < $idle Then Run(@ComSpec & " /c taskkill /F /PID " & $q & " /T", @SystemDir, @SW_HIDE) $r=0 EndIf EndIf WEnd And the man say it does not start is application.. I just gave him the script I think he run the script but just double clicking it Plus he say that my script work on his desktop but it does not work in the windows servers 2003 and 2008 Edited June 28, 2011 by oren Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now