المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : C# pass variable to console application



C# Programming
09-23-2012, 07:29 AM
I have two questions to ask about passing arguements to a C# 20008/2010 console application:

1. In an existing C# 2008 console application that I have made changes to, I have asked the network administrator what values are passed to the application. He told me none. However after I have debugged the application, I find it hard to find beleive that no arguments are passed to the application. Thus can you tell me where to look to see what variables are passed to the application that is setup in a windows scheduler for windows 7?
2. I have just written a C# 2010 console application that I pass values to. I need to setup the windows scheduler to run the job once a day and I need to pass the application some input argumements.

Thus can you answer my two question? Pointing to a url link would be helpful also!