Jump to content

Search the Community

Showing results for tags 'cmdline parameter charset'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi Experts, I have script for get parameter as text with special charsets but i do not show as original line. How i can show as original? On this forum i find only How file open as UTF-8, etc. But this problem no. cmd script: @echo off Test.exe "D:\Folder1\Folder2\ěščřžýáíéúů\Folder3" "green.txt" exit Test.au3 script: #include <MsgBoxConstants.au3> #include <file.au3> #include <Array.au3> Global $parameter If Not $CmdLine[0] Then MsgBox(0, 'Info', 'Sorry but you not defined param for running.' & @CRLF & @CRLF & @CRLF & 'Examples:' & @CRLF & @CRLF & @ScriptName & ' "C:\Path\PathNext" "filename.ext"') Exit EndIf Global Enum $giParam_1,$giParam_2,$giParam_UBound Global $aParams[$giParam_UBound] For $i = 1 to UBound($CmdLine)-1 If $i > $giParam_UBound Then MsgBox(0, 'Info', "More Params included than expected!" & @CRLF & @CRLF & " Accept Params is: " & $giParam_UBound) ;ExitLoop Exit EndIf $aParams[$i-1]=$CmdLine[$i] Next MsgBox(1, "Split", $aParams[$giParam_1] & "\" & $aParams[$giParam_2]) ;MsgBox(1, "Split 2", $CmdLineRaw) ;;; have bug too Exit Bad output: Thanks in advance Experts.
×
×
  • Create New...