473,738 Members | 3,636 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Q] PHP-CLI on Windows / PHP-GTK favorites.

Howdy,

I PROMISE that I've Googled this... =)

I've written a PHP script to run from the command line. I can also run
it from a shortcut on my desktop, etc. and it works great.

However, I can't remember how to suppress the "DOS box/CLI
window/Command Interpreter/whatever *you* call it" that appears. I
recall that there's a switch that one can put in the shortcut/or in a
batch file to suppress the big black window...

Also, I've recently become interested in PHP-GTK. Does anyone have some
favorite sites they'd recommend? I'm looking for real recommendations ,
not "Google PHP-GTK" ;)

Thanks,

- Dan
http://blog.dantripp.com/
Jul 17 '05 #1
3 2223
On 2004-02-02, Dan Tripp <th*******@MyEM ailAddress.com> wrote:
However, I can't remember how to suppress the "DOS box/CLI
window/Command Interpreter/whatever *you* call it" that appears. I
recall that there's a switch that one can put in the shortcut/or in a
batch file to suppress the big black window...


This is how i did it on my sisters win98 box:
I have a batch file that contains the commands that need to be executed.
Then i created a shortcut to that batchfile on the destktop.
Then i right-clicked on that shortcut, editted the properties:
second tab(program) close window after completion.
--
http://home.mysth.be/~timvw
Jul 17 '05 #2
Tim Van Wassenhove wrote:
On 2004-02-02, Dan Tripp <th*******@MyEM ailAddress.com> wrote:
However, I can't remember how to suppress the "DOS box/CLI
window/Command Interpreter/whatever *you* call it" that appears. I
recall that there's a switch that one can put in the shortcut/or in a
batch file to suppress the big black window...

This is how i did it on my sisters win98 box:
I have a batch file that contains the commands that need to be executed.
Then i created a shortcut to that batchfile on the destktop.
Then i right-clicked on that shortcut, editted the properties:
second tab(program) close window after completion.


Ah, looks like I forgot to state that I'm calling the script from cron
(yes, on a Windows machine).

- Dan
http://blog.dantripp.com/
Jul 17 '05 #3
If you are using the DOS command.com of the NT cmd.exe then
the switch you need to use is the /C option.

COMMAND [[drive:]path] [device] [/E:nnnnn] [/P] [/C string] [/MSG]
CMD [/X | /Y] [/A | /U] [/Q] [[/C | /K] string]

For more details see the help for either tools:

C:\>command.com /?
C:\>cmd.exe /?

Jussi Jumppanen
Author of: Zeus for Windows, Win32 (Brief, WordStar, Emacs) Text Editor
"The C/C++, Java, HTML, FTP, Python, PHP, Perl programmer's editor"
http://www.zeusedit.com
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4882
by: shank | last post by:
Is there any one "add to favorites" code that will work for IE, NS, AOL, and a host of others? At least some code that will give me an effective "add to favorites" for the highest percentage of users. The code in my searches have been disclaimed has working with this but not that. I'm not sure how old some of this code is either. thanks!
2
2041
by: Steve | last post by:
I am trying to build an online bookmark manager and I want to try and download the favorites in a browser. I know you can do window.external.AddFavorite but can you do the reverse in any way, to retrieve them from the browser into a page? I would assume that this is not possible because of security reasons but there must be some way of doing it? Any ideas? Thanks in advance...
1
3150
by: Matt | last post by:
Hi Everyone, Im creating a web browser in Visual C#. Right now I am trying to create a favorites menu like the one in Internet Explorer 6. All I got so far is a favorites button, and a blank new windows that appears when you click the button. Can anyone please give me a good step by step instruction about how to create web browser-like favorites in C#? Thank You,
8
1746
by: Alex D. | last post by:
does any body knows how to open a new IE window and close the favorites tab and history tab (if tabs enabled)? problem is that when opening new windows(pop-ups) with absolute size and the user has favorites or history views enabled then the content in page is wraped and scroll bars appears everywhere. thanks, alex.
6
7582
by: Killer42 | last post by:
I have actually asked a pretty similar question here in the past, without a great deal of success. But I've decided to try a different tack. So, what are the ways in which a network admin could remove the Favorites menu from Windows Explorer (presumably by use of a group policy), and how can I overcome it and put my favorites menu back where it belongs? Originally I was able to get it back by correcting...
4
1205
by: randy.buchholz | last post by:
I would like to be able to build a set of folders and links in the browser (IE 6+) "favorites" to create semi-static lists of links configured to the users profile and preferences. I haven't worked with controling browsers so I'm looking for a place to start. BTW - I'd like to keep as much server side as possible. Thnx
3
18142
FishVal
by: FishVal | last post by:
Windows Script Host Object library. Full name: Windows Script Host Object Model LibName: IWshRuntimeScripting Location: ...\WINDOWS\system32\wshom.ocx The present tip is closely related to the previous stuff written by ADezii concerning Scripting Runtime library. Both libraries share the same functionality as for file functions but the library in the topic provides additional possibilities which may be advantageously used. Here is a...
0
886
by: =?Utf-8?B?U3VydHVyWg==?= | last post by:
Hi All, One disappointment in VS2008 is that Microsoft has not improved the 'favorites' section of the help browser. Specifically, an ability to organise favorites in folders, and to sort them by name would be nice. I'm hoping these features are already there and someone here can enlighten me on how to use them, but if they aren't, is there a back door way to access
1
2482
by: =?Utf-8?B?TWFya3VzIFNjaC4=?= | last post by:
Hello, i'm seeking for a Favorites and Shortcut image for a TreeView Control. (The Shortcut image should be combined with the object image with DrawImageUnscaled) They should look like in Internet Explorer. I tried the Favorites.png and the Shortcut.png in VS2008ImageLibrary\1033\VS2008ImageLibrary\Objects\png_format\WinVista but the Favorits.png is rotated. This looks very bad.
5
3776
by: andrewq2 | last post by:
I have a post in fourms.micorsoft.com but no one is responding, and i had good luck in google groups befor so i decieded on posting my question here also. Im trying to add a favorites function to my web browser. the problem when i hit the add to favorites button it does nothing. but on form close it creates the favorites.xml file. so i know the problem is somewhere in the add to favorites function. hears my code:
0
8969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8788
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6751
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6053
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.