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

Enter User Input to URL

$
0
0

Alright so I have a URL that looks like below.

https://supersample.com/srvr/logon?UserID=5555031234&Password=My1stPassowrd

I would like to write a batch file so when someone double clicks it, it prompts from for their UserID and Password which you can see above in the URL. They enter in their UserID and Password and then the batch file will make a URL with the input after the = sign for the respective variables I guess you would call them.

I think that makes sense. Basically, I want everyone to use this URL but it's different for everyone. I also don't want to have a desktop shortcut with this URL because then anyone can look at the properties and find their credentials hard coded.

If I need to try and explain this in a different way, please let me know but I think its pretty obvious what i'm trying to accomplish.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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