Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bat current directory

From within your batch file:

%cd% refers to the current working directory (variable)
%~dp0 refers to the full path to the batch file's directory (static)
%~dpnx0 and %~f0 both refer to the full path to the batch directory and file name (static).
Comment

PREVIOUS NEXT
Code Example
Shell :: how to check folder size in linux 
Shell :: adb port reverse 
Shell :: intall teams on ubuntu 
Shell :: terminal get number of files in dir 
Shell :: git show graph command line 
Shell :: how to check if mysql is installed ubuntu 
Shell :: how to delete all branches except master 
Shell :: install chrome apt-get 
Shell :: install tkinter conda 
Shell :: for loop on date in bash 
Shell :: check active number of ssh connections 
Shell :: docker centos no space left on device 
Shell :: datetime echo shell script 
Shell :: kill local host bash 
Shell :: find largest files in a directory unix 
Shell :: find saved wifi password in linux 
Shell :: git pull changes from master 
Shell :: pycharm ubuntu 20.04 
Shell :: restart ssh service mac 
Shell :: uninstall react-router 
Shell :: delete branch from remote 
Shell :: install material ui icons 
Shell :: ubuntu root login ssh 
Shell :: linux restart command 
Shell :: search for a commit in git logs 
Shell :: davinci resolve ubuntu intel gpu processing mode empty 
Shell :: how to reload docker nginx 
Shell :: bash if substring 
Shell :: docker-machine install mac brew 
Shell :: how to change the icon of a python exe file 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =