Short Version: I know there is not an easy way to do this but how do I change line in a command file with VB?
Long: Working in a login script that will(eventually) populate an RDP file for a specific user based on their username(IE: user@blahdeblah.com goes to full address:s:blahdeblah.blahdeblah.com and so forth). Multiple server location in part one of the address. I've done the easy part of pulling the file up, capturing the username and where they should be going, but I lack the knowledge on how to populate the file. I've seen some posts here about reading the text and then changing the words as they would appear in a column, but would the same practice work in rows?
If the overall text file in the RDP is 47 rows could I just say "replace row 45 with _"?
I know that was a pain to read through.
Any and all help would be appreciated.