Post

Automatically Set Environment

Bat File


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
REM ===============================
REM 1. Brower
REM ===============================
start chrome "https://chat.openai.com"
start chrome "https://google.com"
start chrome "https://kcnote.github.io/"
start chrome "https://github.com/KCnote/KCnote.github.io/"

REM ===============================
REM 2. VS Code
REM ===============================
start "" "code"

REM ===============================
REM 3. Git Bash & move directory
REM ===============================
start "" "C:\Program Files\Git\git-bash.exe" --cd="C:/Users/Desktop/Github"
This post is licensed under CC BY 4.0 by the author.