Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Powershell Loop Help

$
0
0

I want the end users to get a File open box and then select a txt file and have the full path and the file name C:\txtfile.txt put into a $file string that I can use later on in the script.  

Also  is it possible to put this in some kind of loop to have the script ask if the string they selected is correct and if not loop back and have them pick a different file with the browser again.  

Thanks!


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>