Jump to content

about the language translator


Recommended Posts

thanx lord but i have another 2 problems

1- that i cant copy or move the so called translated filename to given dir because the program give only file name

2- how can i get full path of the files in FileFindFirstFile function

any ideas :):P

Edited by daywalkereg

1 £0\\/3 |-|3® $0 |\\/|µ(|-|

Link to comment
Share on other sites

you can append the full path to the file like you append strings to another string..

first you have to check if the path to the file contains spaces.

$string="test"
$path="c:\test 123"
If StringInStr($string, "es") Then
    $string = StringReplace($string, "es", "oe")
EndIf
ConsoleWrite('@@ Debug(' & _
             ') : $string = ' & _
            $string & @crlf & _
            '>Error code: ' & @error)
            
if StringInStr($path, " ") Then
    $path = '"' & $path & '"'
EndIf
run(@ComSpec & " /C echo " & $path & " & pause")

you could also use the @ScriptFullPath macro

Edited by lordofthestrings
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...