Re: [PHP-GTK] how to use shortcuts on windows

[email protected] ("Frank M. Kromann") Thu, 09 Aug 2001 07:54:44 -0700
Newsgroups php.gtk
Message-ID <[email protected]>
If you have spaces in the path, just put th epath and file name in double quotes:

C:\php4\php_win.exe "c:\php4\Softdy FTP chat\Ressources\chat.php"

- Frank


> See these sample:
> 
> C:\php4\php_win.exe c:\php4\Softdy_FTP_chat\Ressources\chat.php
> C:\php4-0-7-dev\php_win.exe c:\php4\Softdy_FTP_tools\ressources\dinsoft.php
> 
> No spaces in your PATH or it will not works.
> 
> Joris Kluivers a écrit :
> 
> > 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
> 
> 
> -- 
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> To contact the list administrators, e-mail: [email protected]
> 
> 
>