Webmaster Forum

Go Back   Webmaster Forum > The Webmaster Forums > Tech Talk

Tech Talk Discuss computer issues, tech gadgets and hardware, operating systems, browsers, broadband and wireless, virus, trojan, and spyware help.

Thread Tools Display Modes
Share |
Old 08-13-2014, 12:43 PM
ConduciveMammal's Avatar
ConduciveMammal ConduciveMammal is offline
Contributing Member
Join Date: 03-28-13
Location: Walsall, UK
Posts: 266
iTrader: 0 / 0%
Create .bat file to easily launch Ngrok from CMD

I've been using Ngrok for a little while now and it's still frustrating to go into Command Prompt and enter each command to actually launch it, I tried to make a .bat batch file but I can't quite get the code right.

The CMD commands I enter in sequence are:
  1. cd C:\Path\to\ngrok.exe
  2. ngrok -subdomain=example 80
This now begins the ngrok tunnelling.

So, to put all of this into a .bat file plus the addition of launching my browser to the required URL, I entered this:
@echo off cd /d "C:\Users\Liam\Downloads\ngrok" start "ngrok -subdomain=points 80" timeout 10 start http://points.ngrok.com:80 pause
But what it's doing is launching the URL but not starting the tunnel session and says: "Can't find file ngrok -subdomain=points 80".

Can anyone help me make this into a one-click solution?

Reply With Quote



Go Back   Webmaster Forum > The Webmaster Forums > Tech Talk


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any procedure to unlock PDF file easily sanusense Tech Talk 8 06-08-2014 07:09 AM
Create Striped Backgrounds For Your Site Easily glm Content 0 01-03-2009 06:46 PM
How to create an RSS file DarrenC Marketing Forum 4 04-09-2006 12:01 PM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 05:26 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC