Skip to content

Instantly share code, notes, and snippets.

@skacurt
skacurt / swhere.bat
Last active September 7, 2023 15:58
swhere.bat
::opens folders containing executable files
::returned by the "where" command.
@echo off
if [%1] == [] goto quit
for /f "delims=" %%l in ('where %*') do (
start explorer.exe /select,"%%l"
)
:quit
exit /b
<%
Const HTTPREQUEST_PROXYSETTING_PROXY = 2
Const HTTPREQUEST_SETCREDENTIALS_FOR_PROXY = 1
Dim responseText
With Server.CreateObject("WinHttp.WinHttpRequest.5.1")
.SetProxy HTTPREQUEST_PROXYSETTING_PROXY, "us.proxymesh.com:31280"
.Open "GET", "http://example.com"
.SetCredentials "username", "password", HTTPREQUEST_SETCREDENTIALS_FOR_PROXY