The command you want to shrink the file is DBCC SHRINKFILE.
As for defragmenting the indexes, you have a bunch of options. The one I'm currently suggesting people look at is Minion Reindex[/url]. It's free.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning