I have a need to take a string which will be a directory with the exe at
the end:

Example

C:\\dir1\\dir2\\dir 3\\dir 4\\name.exe

And grabbing the name.exe off of it.  Now, the hard part is, this
directory structure can change and won't always be the same length.  I
can get the length of the string and count back unto I get to the first
"\"  or "\\" but I was wondering if there was a Regex that can take care
of the varying path lengths and take was is at the end of the string?

Thanks

MJG

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to