I need help concerting this shell script to .bat file. Any pointers would help.
#!/usr/bin/ksh
. /app/common/scripts/setenv.sh
cd /app/PPaths_ALM/config
echo '[Global]' > DatabaseParam.config
if [[ -n "$1" ]] ; then
SQLDB=$1
echo '$DBConnectionEDW=EDW_STG_'$SQLDB >>DatabaseParam.config
else
echo "<Invalid Arguments>"
echo "Usage: "
echo "$0 [SQL DB(FAS/DLY)] [RUN DATE(mm/dd/yyyy)]"
echo
echo
exit
Convert shell script to batch file
Convert shell script to batch file
Last edited by vig86 on 2016-10-25T08:56:09-07:00, edited 1 time in total.
Re: Convert shell script to batch file
This may be of use to you: http://www.imagemagick.org/Usage/windows/#conversion
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert shell script to batch file
Does the question have any relevance to ImageMagick?
snibgo's IM pages: im.snibgo.com