View Full Version: Call "system" Not Working With Win2003

LawsonTalk > Coding, Program Errors and Bugs > Call "system" Not Working With Win2003


Title: Call "system" Not Working With Win2003


ssun - June 20, 2007 03:47 PM (GMT)
We are in the process of migrating from UNIX to Windows. I noticed that system calls are not getting executed. The funny thing is that if I run the program using an Administrators account on windows, it works. So it must be a permissions issue, but I can't pinpoint what it is.

Milo - June 21, 2007 06:43 PM (GMT)
You may have to work with a Windows Administrator and check the "Security" tab in Properties. Check the script and/or command you're trying to execute; also, check folder security too.

The most important thing I was told to remember when checking file and folder security was -- never ever change security settings across the network (i.e. when using a mapped directory or a network share). Always log in to the server itself when you want to change security settings. If done over the network, not only will the security settings change fail, it can introduce severe errors on the server's disk.

Now, that was with Windows 2000. I don't know if it's been fixed on Window 2003. Good luck!

ssun - June 21, 2007 08:33 PM (GMT)
Milo, thanks for your input. I asked my administrator to assign full control to drive D, but still it does not work. I'll keep playing around with it. Thanks!

ssun - June 27, 2007 03:01 PM (GMT)
Finally figured it out. Have to give user full control to C:\WINDOWS\system32\cmd.exe



Hosted for free by InvisionFree