<html><head></head><body>Hi,<br><br>I'm not so sure if that's an FPC-only issue. MCI commands like that have been around for a while, so spaces might not have been "considered" in the first place.<br><br>A workaround was presented years ago, I can only find the archived version: <a href="https://ftp.zx.net.nz/pub/archive/ftp.microsoft.com/MISC/KB/en-us/191/089.HTM">https://ftp.zx.net.nz/pub/archive/ftp.microsoft.com/MISC/KB/en-us/191/089.HTM</a><br><br>Basically, they suggested to create an alias to the file first using MCI "open" first, and then issue "play" on that alias instead of the filename.<br><br>Best,<br>Alex<br><br><div class="gmail_quote">Am 20. September 2022 19:21:08 MESZ schrieb James Richters via fpc-pascal <fpc-pascal@lists.freepascal.org>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail">I just figured out that short filenames won't work, my files are on a linux<br>server... not NTFS drives.. so I'm back to getting it to work with spaces<br>the normal file names<br>James<hr>fpc-pascal maillist - fpc-pascal@lists.freepascal.org<br><a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br></pre></blockquote></div></body></html>