This question wants you to golf batch programms. In Batch you can use set x=averylongbatchcommand %x% arg1 which expands to set x=averylongbatchcommand averylongbatchcommand arg1 Your task is it to expand these statements. As you can also use set for arithmetic purposes like this: set x ...