I have created a windows application using C# in visual studio 2005. I hav got windows 7 on my machine. Now I am trying to run this .exe file using windows task scheduler but my .exe file needs one .ico file and one.img file associated with it.
So I added these files using syntax -a"file-name" -a"file-name" in the Add Arguments(optional) part.
My task has been scheduled properly but windows is giving me an error that "File.exe has stopped working"
Can anybody suggest me something to correct m error?