Search the Community
Showing results for tags 'file read'.
-
how to read or run a file using its name with extension. it have to search with the folder and sub folder Run(@ComSpec & " /c " & Chr(34) & @ScriptDir & "\Multimedia.bat" & Chr(34), @ScriptDir) ; this line reads the Multimedia.bat file in the script directory. i need to read from the script directory and the consisting sub folders into that directory Help plz
-
Hello Everyone, I am having a bit of trouble getting my FileReadLine function to read all the characters in a specific text file. Here is my code. Func PastePassword() ;Paste Password $file = ('C:\Text\Logins\MacroPWList.txt') FileOpen($file, 0) For $i = 2 to _FileCountLines($file) $line = FileReadLine($File, 2) GUISetState(@SW_HIDE, $wsi_form) Sleep(350) Send($line) Sleep(150) Send("{Enter}") ExitLoop Next EndFunc $line should return the following string "EY@RdJ5S}#<r8rh" However, instead $line is returning "EY@RdJ5S}<r8rh" For some reason it is leaving out the # sign in the string. Does anyone know why that is? Thanks for all your help!
- 2 replies
-
- hashtag
- pound sign
-
(and 1 more)
Tagged with: