I am building meteor application and installing this application in client's system via bash script in windows.
In this script, i need to get current directory path stored in variable and then i need to write it in settings.json file.
I tried many solutions but later i found out that all those were for batch script.
mkdir upload
cd upload
DB_IMG_PATH=cd // I need to set path here in any variable and later use it below to write in settings.json file
echo %DB_IMG_PATH%
cd ..
echo '{"public":{"imgUploadUrl":"D:/mssqlempowervisi/upload","adminUser":"admin@mitch.org","adminPassword":"admin@123"}}' >> settings.json