:: Listing 2. Creating the StuffFile Environment Variable to Represent the Pathname Set StuffFile="D:\stuff\morestuff\mystuff\yourstuff\lotsofstuff\listofstuff.txt" If Exist %StuffFile% Del %StuffFile% Copy \\H10server\stuff\listofstuff.txt %StuffFile%