Skip to Content
0

Not able to use share folder path in exec()

Jan 30 at 11:50 AM

45

avatar image

Hi Team,

Am trying to call bat script using exec() in bods and its failing with error file not found.the script is save on share folder .Could you please help me out here.

thanks

Anitha

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Jan 30 at 01:15 PM
0

Hi Neetha

Try the below

exec('cmd', 'C:\abc123.bat', 8) Hope you are using Windows server isn't , Thanks

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Abhishek,

The issue is appearing when am trying with networkpath(share folder path). Server is windows server

thanks

Anitha

0
Dirk Venken
Feb 21 at 06:17 AM
0

Make sure the user under which the DS server processes are running is granted access to the share.

Share
10 |10000 characters needed characters left characters exceeded
Neetha Anitha P Apr 02 at 05:04 AM
0

exec() function was not taking the relative path full control has been given to the share folder location

Share
10 |10000 characters needed characters left characters exceeded