|
Answer» Hi,
i used following syntax in batch file (startup.bat): Code: [Select]if not exist ($?VAR) set VAR=%cd% Can anyone help me out how i can define it in startup.ksh file ?
THANKS in ADVANCE for help.Should i define like: Code: [Select]if [ ! -s $VAR ]; then export VAR=$PWD if
is this code block WORKS?Code: [Select]if [[ -z $VAR]]; then export VAR=$PWD fi
this solves the problem awww you solved it yourself!
See now this is what life teaches you, ''believe in yourself''
Way to go girl!!
|