﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1904	Problem with @MyDocumentsDir macro in Windows XP	ffdshow		"If I run the code bellow in Windows XP SP3 ENG, @MyDocumentsDir macro returns C:\Documents and Settings\User Name\Documents instead of C:\Documents and Settings\User Name\My Documents
and StrongDC++ will create after the first run a folder named Documents in %userprofile%

{{{
$InputFile = @MyDocumentsDir & '\StrongDC++' & '\DCPlusPlus.xml'
$str2Find = 'C:\Users\User Name\Documents'
$str2Replace = @MyDocumentsDir
$file = FileOpen($InputFile, 0)
If $file <> -1 Then
	$fc = FileRead($file)
	$fc = StringReplace($fc, $str2Find, $str2Replace)
	FileClose($file)
	$file = FileOpen($InputFile, 2)
	FileWrite($file, $fc)
	FileClose($file)
Else
	Exit
EndIf
}}}

The above code work well in Windows 7.
FileCopy and DirCopy commands with @MyDocumentsDir macro parameter run correctly in Windows XP SP3 ENG. Also, a script like this:

{{{
MsgBox(0,0, @MyDocumentsDir)
}}}

gives the right path in Windows XP."	Bug	closed		AutoIt	3.3.6.1	None	Works For Me		
