Found the anwser on another forum:
BACKUP LOG wslogdb62 WITH TRUNCATE_ONLY
[quoted text, click to view] >\DBCC SHRINKFILE('wslogdb62_log', 1)
>-----Original Message-----
>I get this message again when I run this script:
>
>BACKUP LOG wslogdb62 WITH TRUNCATE_ONLY
>DBCC SHRINKFILE(wslogdb62_log, 1)
>
>This is the error message
>
>Server: Msg 8985, Level 16, State 1, Line 2
>Could not locate file 'wslogdb62_log' in sysfiles.
>DBCC execution completed. If DBCC printed error
messages,
>contact your system administrator.
>
>.