Skip to Content

Not able to use share folder path in exec()

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

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

    Hi Neetha

    Try the below

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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 21 at 06:17 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 02 at 05:04 AM

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

    Add comment
    10|10000 characters needed characters exceeded