Jump to content

cmd to AutoIT


Recommended Posts

Hello I have a little Problem with my AutoIT Script.

This is My skript:

Quote

If StringInStr($cmdlineRaw, "-s") Then
    $Result = StringRight($cmdlineRaw, StringLen($cmdlineRaw)-StringInStr($cmdlineRaw, '-s')-2)
    IniWrite(@ScriptDir&'\1.ini', "Pass", "Password", $Result)
    Exit
ElseIf StringInStr($cmdlineRaw, "-r") Then
    $IniR = IniRead(@ScriptDir&'\1.ini', "Pass", "Password", '')
    ConsoleWrite($IniR&@CRLF)
    Exit
EndIf

I want to get my Passwort whitch is in the ini File as Output if I  writh in cmd the comand "-r" behind my test.exe

Link to comment
Share on other sites

  • Moderators

@KevinSchmidt @Marius-Ligon Creating multiple accounts is a great way to get yourself banned from the forum. Both accounts are prevented from posting until you PM me and we have a conversation about which you would like to keep.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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