• sp_configure is used to read/change server wide settings.

    sp_dboption is used to modify database level properties (not specific to a particular mdf or ndf).

    so when you use sp_dboption to auto shrink a database (which is a bad option), all your database files will be shrunk.