mrbond007 Posted February 5, 2007 Share Posted February 5, 2007 CODE #include <String.au3> Dim $file, $rev1, $rev2, $rev3, $rev4 $file = FileOpenDialog("shoes the file", "", "(*.*)", 1) If @error Then Exit $rev1 = FileGetLongName($file) ;or FileGetShortName($file) $rev2 = _StringReverse($rev1) $rev3 = StringSplit($rev2, '\', 1) $rev4 = _StringReverse($rev3[1]) MsgBox(0, "with the path", $rev1) MsgBox(0, "without the path", $rev4) Funny way Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
/dev/null Posted February 5, 2007 Share Posted February 5, 2007 what's wrong with _PathSplit() ??? __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
mrbond007 Posted February 5, 2007 Author Share Posted February 5, 2007 what's wrong with _PathSplit() ???Nothing i'm just looking for funny ways to make it Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
/dev/null Posted February 5, 2007 Share Posted February 5, 2007 Nothing i'm just looking for funny ways to make itAh..... __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now