• thank you

    is this correct then :

    DBCC SHRINKFILE ('tempdev2' , emptyfile)

    then run the

    ALTER DATABASE tempdb REMOVE FILE tempdev2