i have a script in which i go to a particular dir and list all its file
------------------------------------------------------------------------
#!/bin/ksh
if test -d systemProperties
then
set --`cd systemProperties`
for i in *
do
echo "$i" >> lastm2.txt
done
fi
-----------------------------------------------------------------
this script is in dir conf and conf also has dir systemProperties.so i m going inside this dir and checking all its files.plz help me in this. i think some problem in "set" command