SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast zeedoo's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    locate on win and mac?

    hi ...


    what is the command to find a file on windows and mac
    equivalent to linux's locate which be able to run via php exec ....

    thanks ...

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DIR? (Windows)

    Example; find all file names containing "php"
    DIR *php* /A:-D /B /S

    /A:-D == not directories
    /B == no heading
    /S == search all subdirectories

  3. #3
    SitePoint Enthusiast zeedoo's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do i specify which drive? or there is way to set all drives?


Bookmarks

Posting Permissions

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