473,381 Members | 1,399 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,381 software developers and data experts.

[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 2205
On 2004-02-02, Dan Tripp <th*******@MyEMailAddress.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*******@MyEMailAddress.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
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...
2
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...
1
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...
8
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...
6
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...
4
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...
3
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...
0
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...
1
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...
5
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.