Every once in a while this starts nagging me, I have really no idea and not much to go on so here goes...
A man wearing a blue? uniform walks into a town that looks abandoned and empty and all covered in dust. The skies are brown/dirty with no sun. He goes into the upstairs of one of the houses. He stops at I think a fireplace, examines something, or it’s like he’s remembering something. Then downstairs in the street, a man/person wearing rags/robes with bandages covering his face starts banging on a fire hydrant with a stick/pipe. More people in bandages/robes start appearing, there's a chase in the town. I don't remember much but he's chased into wastes? through a gully or ditch and then a vehicle (only really remember that it was steel in colour) shows up and a woman comes and shoots one or two of the people chasing him.
That’s about all I remember. I was about 6 or 7 maybe and it was afternoon maybe a little later. I thought maybe Star Trek, but after searching I don't think it is. I think it might be 80's, maybe early 90's. I think it's sci-fi rather than post-apocalyptic.