I defined a folder, using slashes instead of backslashes:
Code: Select all
ziel1 := A_AppData . "/Autodesk/ApplicationPlugins/"
Then I looped the folder, to get its subfolders
Code: Select all
Loop, Files, %ziel1%*.*, D
{
MsgBox %A_LoopFileName%
If A_LoopFileExt in bundle,bundle_paused ;
{
XML_File = %A_LoopFileDir%\PackageContents.xml
msgbox %XML_File%
The second MsgBox was expected to show me the same value as "ziel1 plus filename", because the folders where found there. But I got only "C:\users\peter2\Appdata\packageContents.xml" (same result with A_LoopFileFullPath and A_LoopFileLongPath).
After I modified the slashes to backslashes everything was fine. Now I would like to know why the first step had no problems with the slashes, but the second step shortened the paths ...???
Thanks for your help.