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