my assumption is you are trying to create a link to a file that was just uploaded or so from a form, right?
but when you link to that file, you get that weird link to the file.
now, i'm not extremely familiar with running php in windows, but i have an idea.
you should probably create some directory called c:\files\ (assuming your www base directory is c:\
then when someone upload the file they can get it via c:\files\test.ppt
you can use several functions built in php to get the path for any location you might be on your website.
you could use some predefined variables to get to base c:\ and then just append \files\test.ppt
or you can use some fuctions like basename(), realpath(), pathinfo() .. to help you create the right URL to the file.
useful links... ??
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
http://www.php.net/manual/en/function.pathinfo.php
(check also the "See also:" fucntions listed...
hope that helps.