Here's some code someone else posted. Maybe you forgot the parenthesis in CommandLine$(). Without the parenthesis the function won't work.
loadtype$=Left$(CommandLine$(),2) Select loadtype Case "/s" screensaver() Case "/p" ;preview, do nothing End Case "/c" Notify "No user preferences available!" End End Select