First world problem, but I don't want my account locked out after a mandatory corporate password reset every three months; or to keep my password in a file.
This little script may be of use to anyone who isn't comfortable putting their password in plaintext in an ini file.
Add the following into a file called 'VLCWithProxy.vbs' and replace 'USERNAME' with your work username and 'PATH\TO' with your file path to vlc and enter your password (plaintext I know, but not persisted the same way as in a file) into the prompt.
Run by double clicking or from the command line (with optional play url argument). Type your password into the prompt.
if(WScript.Arguments.Count > 0) then
playurl = WScript.Arguments(0)
strPw = InputBox( "Enter password for proxy:" )
Set objShell = WScript.CreateObject( "WScript.Shell" )
'cmd /c /start C:\PATH\TO\VLC\VLCPortable.exe --http-proxy="USERNAME:PASSWORD@PROXYSITE:PROXYPORT ARGS'
strProgram = "cmd /c start C:\PATH\TO\VLC\VLCPortable.exe --http-proxy=""USERNAME:" & strPw & "@internetproxy.company.com:8000"" " & playurl
Set objShell = Nothing