|
-
Jan 16th, 2002, 11:51 PM
#1
Thread Starter
New Member
File Names With Spaces
Im trying to Update and INI File that has Spaces in its name. But it wont seem to understand anything with spaces in it. What am I doing Wrong. ??? Im new to this so please be kind!
Example: My File Name.ini
inifile = "c:\dms\My File Name.ini"
Call WritePrivateProfileString(lpSectionName, _
lpKeyName, _
lpValue, _
inifile)
When I try to update this it get nothing!
Last edited by emerce2000; Jan 16th, 2002 at 11:59 PM.
-
Jan 17th, 2002, 02:07 AM
#2
Addicted Member
try adding extra quotes around it
inifile = chr(34) & "c:\dms\My File Name.ini" & chr(34)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|