Saturday, January 23, 2016

Direct user to a web page using a bat file


code is simple.

@echo off
title Go to site
start http://jascripts.blogspot.com/

Save this batch script with a name you want and after executing it you will be taken to the URL specified in your script in your default browser.

Note: If it gives errors
use start iexplore.exe http://jascripts.blogspot.com/

No comments:

Post a Comment

Optimize you working enviorenment : Single command to create & move to a directory in linux (C Shell, Bash)

Usually move to a directory just after creating is bit of a anxious task specially if the directory name is too long. mkdir long-name-of...