windows
Syncing Files Using The Windows Command Line
Wed, 11/10/2010 - 11:26 | by philipnorton42To sync files using the Windows command line you will need to use the xcopy command. The default action of this program is to copy a file or directory from one place to another, but you can give it flags to tell it to sync the files. There are a few flags available (use xcopy /? to see them all) but you will probably only want to use the following:
Cross Platform Directory Slashes In PHP
Thu, 10/22/2009 - 11:49 | by philipnorton42I'm not sure where I found this, but I have been using it on a few projects recently and it's helped a lot. It basically detects what system you are on and will give you a constant that keeps hold of the slash for that system.
Starting And Stopping Apache Using Windows .bat Files
Wed, 06/03/2009 - 20:41 | by philipnorton42Following on from the post about starting and stopping MySQL using .bat files I decided to add commands to these files that also controlled Apache in the same way. This turned out to be a lot easier than trying to start and stop MySQL as the command line commands for httpd executable worked very well in .bat files.
So, to start Apache use the following line.
Starting And Stopping MySQL Using Windows .bat Files
Wed, 05/13/2009 - 15:17 | by philipnorton42I use my PC for a lot of different things, and I don't necessarily need to have MySQL server running all the time, especially when I want to play a game. So I wondered if there was a simple way in which I could start and stop the server using a simple .bat file.
I had a look at the MySQL website and found a page that details how to start MySQL from the command line. This page suggested that I use the following command.
Set An IP Address From The Command Prompt In Windows
Wed, 11/19/2008 - 11:03 | by philipnorton42Rather than use the old connection properties dialog in Windows you can open up a command prompt and use the netsh to set up all sorts of network specific settings. The most useful part of this is that you can create a bat file that will allow you to quickly change your local IP address very quickly.
To see a list of the network connections available you can use the following command.
Installing Flex 3 On Windows
Mon, 11/03/2008 - 17:04 | by philipnorton42Flex is a powerful SDK that allows you to build Flash applications that can then be embedded into any web page. The SDK is that Flex uses quite large and covers a whole range of things from interface controls to data processing. To program in Flex you need to use ActionScript 3. What Flex creates as output is swf files, which can be run separately or embedded into a web page.