Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string strPath = "c://myfiles//ref//file1.txt";
- //function call to get the filename
- filename = Path.GetFileName(strPath);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement