how to remove a $ charter from a text file?
I have a batch which write last logged in user into txt file so backup script knows which user profile to backup.
But problem is because sometimes login makes temporary profile and user get in login.txt name like
c:\log\mike\login.txt
mike$s
c:\log\john\login.txt
john$a
c:\log\julia\login.txt
julia$f
how to search for files login.txt which are in multiple folders and remove $ from string in login.txt file so I can get result
c:\log\mike\login.txt
mikes
c:\log\john\login.txt
johna
c:\log\julia\login.txt
juliaf