ricardo rosa

ricardo rosa

  • NA
  • 20
  • 0

Retrieve args value

May 28 2009 11:05 AM
Hi guys

I want to retrieve the value from args.
I have this code
static void Main(string[] args)
        {
            string path = args[0];
            Console.Write(args[0]);

When i run the app i write in the command line app C:\Web Configs\SERVER34\WConfig\web.config

I want to write C:\Web Configs\SERVER34\WConfig\web.config but instead of that i have "C:\Web "

Can anyone help me?

thanks a lot for your precious help


Answers (2)