"Me and My Shadow" is a 1927 popular song. Officially the credits show it as written by Al Jolson, Billy Rose, and Dave Dreyer; in fact, Billy Rose was exclusively a lyricist, Dreyer a composer, and Al Jolson a performer who was often given credits so he could earn some more money, so the actual apportionment of the credits would be likely to be music by Dreyer, lyrics by Rose, and possibly some small contribution by Jolson.
The song has become a standard, with many artists performing it. In the movie Funny Lady, Billy Rose admits to wife Fanny Brice that the shadow in the song was Nicky Arnstein, Fanny's criminal husband before Rose.
The song is performed in Terry Gilliam's Time Bandits, for Napoleon. The dwarves perform it very badly and end up fighting. However, Napoleon is actually pleased, as he wants, for entertainment, "little things hitting each other."
The song was used in an episode of The Dick Van Dyke Show, "The Great Petrie Fortune," in which Van Dyke (playing his own uncle) sings the song on a home movie as part of his will. It referred to an old photograph he had had of himself as an infant, with a "shadow" that was actually Abraham Lincoln.
The song is performed in an episode of Maude, "Maude's Musical", (Season 2, Episode 10), by Beatrice Arthur and Esther Rolle as part of a charity show that Maude is putting together.
The song was performed by Rip Taylor and Christopher Knight in the final episode of The Brady Bunch Variety Hour.
The song was performed in an episode of "Gimme a Break!" by Nell Carter and Joey Lawrence.