how to use shortcuts on windows

[email protected] ("Joris Kluivers") Thu, 9 Aug 2001 00:04:15 +0200
Newsgroups php.gtk
Message-ID <[email protected]>
Hi all,

i've installed php in D:\Program Files\nusphere\apache\php
and i have my gtk programs in D:\phpprog

if i want to start any phpgtk applications i use the ms-dos promt.
first i move to D:\Program Files\nusphere\apache\php
then i type php -q D:\phpprog\scriptname.php

this works fine

but when i want to use shortcuts in windows this doesn't work
in the shortcut properties window i have
"D:\progra~2\nusphere\apache\php\php.exe" -q D:\phpprog\scriptname.php
but this doesn't work, a ms-dos promt opens but closes itself almost at the same time

when i type php -q D:\phpprog\scriptname.php in the ms-dos promt at any location (for example D:\)
i get an error message (cant find php_gd.dll and some more libraries). So i guess it has something to do with PHP_BIN, but i don't know what. Can you help me?

Joris