Adsense

Batch file to change directory and set path

To set path
cmd /K "cd C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\TCL"
set path="C:\Tcl\bin\";

crate a file using command prompt
copy con test.txt

edit a file using command prompt
notepad test.txt

To open a directory
START C:\Users\muthunce

simple variable
@echo off
setlocal enabledelayedexpansion enableextensions
set /p name1="Enter your name : "
echo Your name is: !name1!
echo Thank you. Have a Good Day!
pause

To run  mysql
cmd /K "cd C:\Program Files\MySQL\MySQL Server 5.6\bin"

To launch chrome with multiple tab
start "Chrome" chrome --new-window www.gmail.com --new-tab www.google.com

No comments:

Post a Comment

comment here

newest questions on wordpress