I'm a great apologist of PHP, specially when compared with VBScript and ASP... but... for that effect i think you would be better served with perl itself...
It works well in windows and porting the maintenance scripts from unix/perl to windows/perl would be fairly easy... a great source for that would be to take a peek in activestate site (http://www.activestate.com/) or cygwin site (http://www.cygwin.com/)... I think that both provide very good support for windows... I'm not saying that PHP doesn't do the job also, but as you refered that you have your unix scripts made in perl... Cheers, Luis Ferro TelaDigital P.S.- I wouldn't recomend the direct edit of the system files... there are system API for doing that and i'm sure that anything that runs COM (as php, perl and python among others) have suport for them... Kevin Fonner wrote: > We'll I have been using Windows Scripting Host to do maintenance on > the computers in our comapany. Now I'm getting tired of dealing with > vbscript for windows and bash for unix/linux systems. I'd like to > standardize the scripting language I use for our company's mundane > tasks. I've looked at everything and PHP seems awsome. So that would > mean that I am talking about the side of PHP that you run from the > command line. One important task though that I use a lot in vbscript > is accessing the registry. I do it for a lot of things such as change > settings for applications and stuff. I definitly am not planning to > access the registry via their files. That would be sort of windows > suicidal.. especially with XP. Vbscript has the support built in. I > didn't expect the same from php however I know their is a lot of fancy > stuff out their. Maybe it would be possible through COM. I have > already tried out the php and COM combo and it seems to work alright. > Haven't done that before though and I just wanted to see if anyone has > come up with a simple way to do it. Any comments and ideas are > appreciated. > > Thanks, > Kevin > > Ross Fleming wrote: > >> fopen on system.dat and user.dat? For win9x at least, I've no idea >> where xp >> and such store the registry. In fact, not having a 9x machine to >> hand, I >> couldn't tell you how easy it is to interpret the two registry files. I >> would imagine it's bloody dangerous and difficult though. >> >> What are you trying to achieve? There may be another option if u >> tell us >> what you're accessing it for :) >> >> Ross >> >> >> >>> -----Original Message----- >>> From: Kevin Fonner [mailto:[EMAIL PROTECTED]] >>> Sent: 25 August 2002 19:34 >>> To: [EMAIL PROTECTED] >>> Subject: [PHP-WIN] accessing the regisry with php >>> >>> >>> Anybody know what a good way to access the windows registry with PHP? >>> >>> Thanks, >>> Kevin >>> >>> >>> >>> -- >>> PHP Windows Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >>> >>> >> >> >> >> >> > > --- [This E-mail scanned for viruses by Declude Virus] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php