Hi,

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.

A workaround was presented years ago, I can only find the archived version: 
https://ftp.zx.net.nz/pub/archive/ftp.microsoft.com/MISC/KB/en-us/191/089.HTM

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.

Best,
Alex

Am 20. September 2022 19:21:08 MESZ schrieb James Richters via fpc-pascal 
<fpc-pascal@lists.freepascal.org>:
>I just figured out that short filenames won't work, my files are on a linux
>server... not NTFS drives.. so I'm back to getting it to work with spaces
>the normal file names
>James
>
>_______________________________________________
>fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
>https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to