S
Stan Huang at Taiwan
Guest
Below is my snippet for generating a path. I got double back slash result ("d:\\pinggws-") after d:. If I changed it to @"d:\pinggws-", the result is still the same. How come?
pingResultLog = "d:\\pinggws-";
pinglogSuffix = now.Year.ToString() + "-" + now.Month.ToString()
+ now.Day.ToString() + "-" + now.Hour.ToString() + ":" + now.Minute.ToString() + ":"
+ now.Second.ToString() + ".txt";
pingResultLog += pinglogSuffix;
Continue reading...
pingResultLog = "d:\\pinggws-";
pinglogSuffix = now.Year.ToString() + "-" + now.Month.ToString()
+ now.Day.ToString() + "-" + now.Hour.ToString() + ":" + now.Minute.ToString() + ":"
+ now.Second.ToString() + ".txt";
pingResultLog += pinglogSuffix;
Continue reading...