Need Help for Program Call Extension File in C#..
-
Hi if i select on path like c:\\Test\Test1\Test2\test3\test.txt [See Photo] now once i chose this path from computer ...and want to separate in program like fline name: test ext: .txt Drive: c folder1: Test folder2: Test1 folder3: Test2 folder4: Test3 folder5: if there is more then 5 folder then message will print out like " You have more then 5 folder " I need help for this program... is that any one can help me how to make program like this in Language C#
Peter
-
Hi if i select on path like c:\\Test\Test1\Test2\test3\test.txt [See Photo] now once i chose this path from computer ...and want to separate in program like fline name: test ext: .txt Drive: c folder1: Test folder2: Test1 folder3: Test2 folder4: Test3 folder5: if there is more then 5 folder then message will print out like " You have more then 5 folder " I need help for this program... is that any one can help me how to make program like this in Language C#
Peter
The split method of the string class will do this for you.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )