Sign in to follow this  
Followers 0
kjcdude

Run Stoped Working

4 posts in this topic

#1 ·  Posted (edited)

I recently ran into a very strange issue.

I can't use the run command to run certain scripts.

The only thing that has changed is a few minor things in the script i'm trying to launch. The weird thing is i can launch some scripts via the run prompt in the same location as the following script, but some other ones won't launch at all. I've been using the same code with the same run commands/same server/same clients/same everything for almost a year and only did a few days this start happening.

I can launch the ones that failed through shellexecute. Has anyone seen this happen to their scritps?

This one doesn't work

$f4 = RunWait("\\nas01\volume_1\Update System\Version Checker.exe")
MsgBox(0, "version chcker", "run result " & $f4 & @CRLF & "error " & @error)oÝ÷ Ù8b²Þv¬jëh×6$f4 = ShellExecuteWait("\\nas01\volume_1\Update System\Version Checker.exe")
MsgBox(0, "version chcker", "run result " & $f4 & @CRLF & "error " & @error)
Edited by kjcdude

Share this post


Link to post
Share on other sites



So i've been able to pin point the problem a bit.

When i run the script on a different network it works fine.

The only thing that was recently changed, on the network that has failures, is the enabling of netflow on our core router.

Share this post


Link to post
Share on other sites

I'm still having trouble. I'm able to launch the same exe on other servers, but not on this particular nas device.

Nothing has been changed on the nas or on the network that would cause this.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

This is beyond weird.

I'm able to launch the script from different folders on the nas.

I can even launch the script when i change the directory from "Update System" to "UpdateSystem".

I have 5 identical setups with identical servers and directories, and for some reason it has just stopped working at one location due to the name of the folder. This makes no sense.

Edited by kjcdude

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0