View Full Version : Inf or .bat Copy Command



stiffmys
12th June 2009, 15:59
Hello.I have created a program in C,which automaticaly updates a certain music folder on my flash drive whenever I insert it in my PC.I have also created a .inf file which automatically executes the program,once the flash is inserted.The thing is I first have to copy the exe file and inf file to my flash manually the first time,before it can be automatically executed the next time I insert it.I was wondering if there is mabey a .inf command or a .bat command available,which will automatically copy the .exe and .inf(the one which executes the .exe each time the flash is inserted) files to my flash,when I insert my flash in my pc.Thanx in advance.

stiffmys
13th June 2009, 00:43
Anyone please?