Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run bat file

.file_pathfile.bat 
# press ENTER
Comment

terminal run bat file

#Tested on Win11
# Run script from current directory in current Terminal window/tab:
	./myfile.bat
	# "./" stands for "current directory"

# Run from specific path in a new tab:
	wt C:my foldermyfile.bat
    # You don't need to wrap the path in quotes

# Run from specific path in current window but split the pane (See 2 terminals at once):
	wt split-pane C:my foldermyfile.bat
    
#To learn more args for the wt command go here:
	https://docs.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows#options-and-commands
Comment

windows how to execute bat file

go to the file location:
>cd file_location

write file name + extension:
>file.cmd
Comment

PREVIOUS NEXT
Code Example
Shell :: aws cli to increase the volume size 
Shell :: how to edit old commit message in git 
Shell :: store command into array bash 
Shell :: ubuntu vs lubuntu 
Shell :: check mtu size linux 
Shell :: cht sht zsh completion 
Shell :: homebrew without sudo mac 
Shell :: digit sum number in c 
Shell :: odoo docker 
Shell :: best terminal for ubuntu 
Shell :: dbeaver password reveal 
Shell :: aws s3 ls wildcard 
Shell :: multi line comment in shell script 
Shell :: git set upstream always 
Shell :: how to change or remove ubuntu logo in login page 
Shell :: search a word in a text using grep in Linux 
Shell :: adb shell 
Shell :: Save changes in a new branch git 
Shell :: install kubernetess on mac 
Shell :: rename all file extention terminal 
Shell :: Composer and npm install the theme onto your computer. Install the theme into your local WordPress install. 
Shell :: install ssl certificate on aws ec2 instance ubuntu 
Shell :: automatically clean package cache in Arch Linux 
Shell :: cmd echo without newline 
Shell :: The file AppDataRoaming pmyarn.ps1 is not digitally signed. 
Shell :: sudo apt install 
Shell :: bash get public ip 
Shell :: gitlab gradle project 
Shell :: how disabled cors in chrome 
Shell :: firebase realtime database delete all data 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =