make a file search tool

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of theamazeer theamazeer 1 week, 5 days ago.

  • Author
    Posts
  • #72556
    Profile photo of theamazeer
    theamazeer
    Participant

    hi guys..
    i'm making a file search tool on a mapped drive..
    i m using the command
    get childitem c:\ | outgridview -passthru | invokeItem

    i simplified it here for you (actually it contains message box in wich directory you want to search and another messbox for the word you look in the name of the file or directory)...

    it works great but at the end the console closes and i want it to ask do you want to make a new search or leave : type in &L (to leave) or enter to make a new search —>so the script restarts from the beginning.. thank you guys for considering my request

  • #72557
    Profile photo of Olaf Soyk
    Olaf Soyk
    Participant

    What's the question? If you want to run the script in a loop you have to put a loop there ... 😉

    • #72559
      Profile photo of theamazeer
      theamazeer
      Participant

      actually i did a loop but the problem is my folder selectionbox is overlapping the result of the previous request... i think i must add a few extra code after the results are displayed.. ty

You must be logged in to reply to this topic.