Problem to get message
hi,
not know why still message written file, using such codes
while file exist within
c:\ab_position_list
not know why still message written file, using such codes
if (!directory.exists(@"c://ab_position_list//p03rpr-dp03r_0722.txt")) { sw.writeline("file 'p03rpr-dp03r_0722.txt' not exist!"); return; } ... while file exist within
c:\ab_position_list
many & best regards, hua min
try using file.exists instead of directory.exists.
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment