Results 1 to 3 of 3
  1. #1

    shell_exec() not working

    Hi All,
    I have tried with shell_exec() in PHP for listing a list of directories in side a main dir
    $ouput = shell_exec("dir C:\\php /s /b /a:d");
    This is not working fine.Is shell_exec will not work for windows commands?
    $ouput = shell_exec("dir C:\\php /s /b ");
    This is not working for listing of filenames with full path
    Please help

  2. #2

    config

    Are you sure you have the correct configuration on the server?

  3. #3
    Join Date
    Dec 2002
    Location
    chica go go
    Posts
    11,858
    make it run this

    dir C:\php /s /b

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •