make a file search tool

Welcome Forums General PowerShell Q&A make a file search tool

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
1 year, 4 months ago.

  • Author
    Posts
  • #72556

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 8
    Rank: Member

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

    • #72559

      Participant
      Points: 0
      Rank: Member

      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

The topic ‘make a file search tool’ is closed to new replies.