To copy a file from one location to another: cmd1[pn]=['filecopy %cdrom%\\AXP\\$OEM$\\hosts.txt %windir%\\System32\\drivers\\etc\\HOSTS'] Commands that can be used is: filecopy from-location to-location dircopy from-location to-location rename old-filename new-filename To ensure that a program will only install on Windows XP use the line below. cond[pn]=['getOSver()=="XP"'] getOSver returns the following strings: XP, 2K, NT, ME, 98, 95 or "Not found"