aa2zz6 Posted November 23, 2016 Posted November 23, 2016 Is anyone aware of why the iniwrite function puts a space before the file.ini name? How do I remove the space? It's basically writing it like this: Config.ini << Space is before the word. ;Create a constant variable in Local scope of the filepath that will be read/written to. Local Const $sFilePath = @ScriptDir & "\Mapping\ " & "Config" & ".ini" Local $sFilewrite = IniWrite($sFilePath, "Mapping", "Path", "...")
Moderators JLogan3o13 Posted November 23, 2016 Moderators Posted November 23, 2016 4 minutes ago, aa2zz6 said: ;Create a constant variable in Local scope of the filepath that will be read/written to. Local Const $sFilePath = @ScriptDir & "\Mapping\ " & "Config" & ".ini" <<<<<--------You have a space after your last \! Because you're telling it to? aa2zz6 1 "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!
aa2zz6 Posted November 23, 2016 Author Posted November 23, 2016 1 minute ago, JLogan3o13 said: Because you're telling it to? Thanks Logan, I missed that.
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