Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Reading Lines from a Text File with a Command Line Batch File

$
0
0

I have a txt file with data:

userone

usertwo

userthree

I'm trying to delele everything east of userone (UPM_Profile\LocalSettings_upm_var\TemporaryInternetFiles_upm_var) in the string below, but I have to do it user by user.  Is there a way to pipe the txt file in and delete it all in one shot ?

E:\Test\userone\UPM_Profile\LocalSettings_upm_var\TemporaryInternetFiles_upm_var

thx


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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