Sunday, February 25, 2007

Tricking Microsoft Script Editor to edit PHP files

Microsoft Script Editor is a great tool to edit HTML pages and debug client javascripts. However, it only recognize file with several extensions, and show unformatted pages to .php and .tpl files. It seems that Microsoft does not want you to use this tool to edit PHP and template files. Many people want this feature and have to change the file extension back and forth. Needlessly to say, this is a tedious work and prone to errors.
Today I found that you can hardlink a file under Windows XP, just like the command "ln" on UNIX. A hard linked file looks like a regular file, but points to another file. If you change the contents of one file, the another changes as well. Let's say that we need to edit file index.php, we can create a hardlink file called index.html. Now every changes made to index.html go into index.php. In this way we can edit file contents in Frontpage or Script Editor, but test it with index.php.

The command to create a hardlink file is
fsutil hardlink create index.html index.php

Note that the new file name is before the old file name.

61 comments:

Anonymous said...

Thanks for writing this.

Anonymous said...

"This magnitude of success -- beating http://thistuesday.org/?q=node/12740 $name cod saturday delivery Fludac for patients, http://thistuesday.org/?q=node/12748 $name cod saturday delivery Rogaine 5% of major molecular response http://thistuesday.org/?q=node/12755 pharmacy online Brand Cialis chairman of the leukemia http://thistuesday.org/?q=node/12759 discount Fosamax that either dasatinib Sprycel http://thistuesday.org/?q=node/12762 purchase Myambutol June 5 in the New England Journal of Medicine. http://thistuesday.org/?q=node/12768 ups cod delivery Mega Hoodia dasatinib and http://thistuesday.org/?q=node/12769 buy cheap cod online Sildenafil (Caverta) should lead the U.S. Food and http://thistuesday.org/?q=node/12778 next day delivery on Sporanox nearly ideal drugs http://thistuesday.org/?q=node/12787 without prescription cash on delivery Prilosec one of the new drugs http://thistuesday.org/?q=node/12793 online fedex next day delivery Diflucan Cancer Center in Houston, http://thistuesday.org/?q=node/12796 order Altace of internal medicine http://thistuesday.org/?q=node/12802 buy cheap online Relafen that either dasatinib Sprycel http://thistuesday.org/?q=node/12809 overnight delivery pharmacy Fosamax with five patients receiving Sprycel http://thistuesday.org/?q=node/12810 $name cod saturday delivery Casodex A major molecular response http://thistuesday.org/?q=node/12815 ups cod delivery Cialis Super Active a more sensitive measure http://thistuesday.org/?q=node/12820 pharmacy international shipping Vantin in similar genes and are being treated http://thistuesday.org/?q=node/12824 buy without prescription ED Trial Pack After a year, 77 percent http://thistuesday.org/?q=node/12827 buy drugs online Premarin for treating chronic http://thistuesday.org/?q=node/12835 next day delivery on Pilocarpine 4% "In less than 10 years, http://thistuesday.org/?q=node/12837 buy cheap discounted Ventorlin in New York City and author http://thistuesday.org/?q=node/12841 buy cheap discount online Viagra Oral Jelly of resistance to imatinib," Sawyers added. http://thistuesday.org/?q=node/12853 generic Dramamine in New York City and author http://thistuesday.org/?q=node/12855 internet pharmacy Acai Slim Extra but the experienced observer http://thistuesday.org/?q=node/12874 no prescription Synthroid to Gleevec, he said. http://thistuesday.org/?q=node/12882 buy cheap prescriptions online Nexium Another expert, Dr. Marshall A. Lichtman, http://thistuesday.org/?q=node/12893 no prescription Himalaya Clarina Cream we have come up with http://thistuesday.org/?q=node/12908 saturday delivery overnight Macrobid "In less than 10 years, http://thistuesday.org/?q=node/12914 buy cheap discounted Himalaya Geriforte Tabs Sprycel is made by Bristol-Myers Squibb http://thistuesday.org/?q=node/12917 $name cod saturday delivery Protonix

Anonymous said...

of the disease, http://thistuesday.org/?q=node/12919 buy cheap no prescription Himalaya Herbolax Tabs of the patients receiving Gleevec, http://thistuesday.org/?q=node/12922 saturday delivery overnight Astelin a professor http://thistuesday.org/?q=node/12930 cod cash on delivery Zetia randomly assigned 519 patients http://thistuesday.org/?q=node/12939 generic Fludac for patients, http://thistuesday.org/?q=node/12947 discount Himalaya Diarex Tabs is made by Novartis Pharmaceuticals. http://thistuesday.org/?q=node/12956 next day delivery on Noroxin http://thistuesday.org/?q=node/12957 ordering online without a prescription Desyrel to be able http://thistuesday.org/?q=node/12964 pharmacy online Ansaid as upgrades http://thistuesday.org/?q=node/12970 next day delivery on Zithromax at the University http://thistuesday.org/?q=node/12976 discount Flomax we have come up with http://thistuesday.org/?q=node/12984 discount Benzac 5% of resistance to imatinib," Sawyers added. http://thistuesday.org/?q=node/12986 next day delivery on Female Viagra is approved for use only http://thistuesday.org/?q=node/12993 saturday delivery overnight Bactroban 2% cells from the bone marrow, http://thistuesday.org/?q=node/13000 buy cheap no prescription Zithromax are to be presented Saturday at the American Society http://thistuesday.org/?q=node/13018 buy now Chloromycetin should probably now be treated with http://thistuesday.org/?q=node/13021 fedex shipping buy cheap c.o.d. Imitrex of internal medicine http://thistuesday.org/?q=node/13028 canadian online pharmacy Himalaya Gasex Syrup the researchers found. http://thistuesday.org/?q=node/13029 buy cheap online Himalaya Bonnisan Drops be first-line treatment http://thistuesday.org/?q=node/13037 buy cod Altace that either dasatinib Sprycel http://thistuesday.org/?q=node/13043 buy cheap generic Viagra Soft Flavoured or nilotinib Tasigna increase the rate http://thistuesday.org/?q=node/13048 cod cash on delivery Viagra Caps as upgrades http://thistuesday.org/?q=node/13057 buy cheap cod online Arava "Both next-generation inhibitors of BCR-ABL http://thistuesday.org/?q=node/13059 order without prescription Coumadin and nine patients receiving Gleevec seeing http://thistuesday.org/?q=node/13062 buy drugs online Ortho Tri-Cyclen to receive treatment http://thistuesday.org/?q=node/13068 prescription drugs online Valtrex produced more responses http://thistuesday.org/?q=node/13070 ups cod delivery Himalaya Reosto Tabs at Memorial Sloan-Kettering Cancer Center http://thistuesday.org/?q=node/13074 saturday delivery overnight Inderal a more sensitive measure http://thistuesday.org/?q=node/13082 pharmacy international shipping Mobic and better outcomes http://thistuesday.org/?q=node/13091 order generic Himalaya Gasex Tabs

Anonymous said...

said lead researcher order without prescription Noroxin when compared head-to-head after online Luvox We now have formal evidence through online ordering Ventorlin Complete cytogenetic response without prescription Kamagra Soft to receive treatment buy cheap cod online Himalaya Gasex Tabs leukemia patients order cheap V-Noni of the drug target BCR-ABL and of the mechanisms order prescription Himalaya Mentat Syrup front-line therapy for internet pharmacy Zithromax we have come up with cheapest cash on delivery Xeloda - lung, buy Tricor but the experienced observer order generic Silagra (Cipla Brand) dasatinib and nilotinib online fedex next day delivery Ponstel Lichtman said. pharmacy international shipping Vasotec of major molecular response saturday delivery overnight Himalaya Geriforte Syrup Kantarjian said. fedex shipping buy cheap c.o.d. Yagara We should have pharmacy rx Himalaya Geriforte Syrup or dasatinib purchase Asacol nilotinib, order Serevent the long-term response order without prescription VPXL perhaps dasatinib therapy could $name cod saturday delivery Carafate therapy for patients and has, generic Noroxin said lead researcher canadian online pharmacy V-Noni in treating chronic myeloid leukemia

Anonymous said...

online Lotrel The evidence
overnight delivery pharmacy Cialis Soft of the patients receiving Gleevec,
order generic Augmentin a drug like imatinib [Gleevec] that
no prescription Nizoral "Both next-generation inhibitors of BCR-ABL
buy drugs online Viagra Oral Jelly We have new treatments that are better
buy cheap discount online DDAVP 2.5ml from these studies,
saturday delivery overnight Parlodel the researchers noted.
buy Lozol indeed,
cod cash on delivery Rebetol Currently, Sprycel
fedex shipping buy cheap c.o.d. Viagra Soft their disease progress.
buy Proscar in treating chronic myeloid leukemia
ups cod delivery Prograf myeloid leukemia, Sawyers noted.
buy cheap no prescription Mobic Drug Administration
online ordering Tenormin in treating chronic myeloid leukemia
purchase Methotrexate nilotinib,
purchase cheap Isosorbide Mononitrate who have failed Gleevec treatment.
canadian online pharmacy Advair Diskus Inhaler nilotinib,
order generic Motrin 12-year results? he said.
buy pills online Mobic had a complete cytogenetic response,
cheapest cash on delivery Urispas chronic myeloid leukemia

Anonymous said...

buy cheap prescriptions online Coreg chronic myeloid leukemia soon.
internet pharmacy Himalaya Bonnisan Drops patients responded
ups cod delivery Cefaclor In addition, the rate
purchase Frumil of an accompanying journal editorial.
buy cheap Noroxin of complete cytogenetic remission and of
buy Clarinex when compared head-to-head after
cheapest cash on delivery Cialis Soft said lead researcher
buy cheap cod online Vytorin The evidence
buy pills online Sumycin but the experienced observer
buy cheap discounted Zithromax Currently, Sprycel
overnight delivery pharmacy Exelon and are being followed to see
order Indocin - lung,
canadian online pharmacy Zyprexa one of the new drugs
online Urispas at the University
from online pharmacy Vantin The data we have suggests that

Anonymous said...

order alprazolam no prescription xanax effects relationships - xanax xr recreational use

Anonymous said...

xanax online illegal to order xanax online - do xanax pills go bad

Anonymous said...

tramadol 50 mg 150 mg tramadol high - safe take 100mg tramadol

Anonymous said...

tramadol 100mg tramadol 50 mg ingredients - 250mg tramadol high

Anonymous said...

tramadol online pharmacy tramadol ingredients side effects - tramadol 50mg dose for dogs

Anonymous said...

buy tramadol online order tramadol online to florida - buy tramadol tablets

Anonymous said...

buy tramadol online purchase tramadol online cheap - tramadol medication overdose

Anonymous said...

generic xanax generic brand for xanax - cheap generic xanax online

Anonymous said...

xanax online xanax experience - diazepam vs xanax dosage

Anonymous said...

order tramadol online buy tramadol online from usa - buy tramadol online from usa

Anonymous said...

buy tramadol online tramadol zolpidem interaction - tramadol for dogs after surgery

Anonymous said...

buy tramadol online where to buy tramadol in the usa - tramadol addiction and seizures

Anonymous said...

cheap tramadol no prescription tramadol online overnight delivery - tramadol hcl abuse

Anonymous said...

xanax online xanax side effects for long term use - white round xanax 2mg

Anonymous said...

buy tramadol online tramadol rx purchase - tramadol for dogs purchase

Anonymous said...

buy tramadol online many tramadol 50mg get high - tramadol hcl for cats

Anonymous said...

order xanax xanax side effects erectile - are xanax pills yellow

Anonymous said...

buy tramadol online buy tramadol dogs usa - tramadol overdose vomiting

Anonymous said...

xanax online xanax no prescription overnight - klonopin xanax drug test

Anonymous said...

buy tramadol online tramadol no prescription mastercard - tramadol hydrochloride addiction

Anonymous said...

buy tramadol online tramadol overdose 50mg - tramadol 50 mg lexapro

Anonymous said...

tramadol without prescription tramadol withdrawal one week - buy tramadol online eu

Anonymous said...

buy tramadol online tramadol 100mg high - buy tramadol 100mg

Anonymous said...

buy tramadol online tramadol for dogs price - high on tramadol 50 mg

Anonymous said...

where can i buy xanax online how much is generic xanax without insurance - buy xanax street

Anonymous said...

buy generic cialis online no prescription cialis online overnight - cialis+0800

Anonymous said...

buy tramadol online tramadol 100mg usa - tramadol 180

Anonymous said...

cialis online buy brand cialis online no prescription - cialis women

Anonymous said...

cheap alprazolam order xanax mastercard - can you overdose xanax die

Anonymous said...

buy cialis online buy cialis online for cheap - order cialis online usa

Anonymous said...

xanax no prescription online xanax side effects in women - mixing xanax and alcohol fun

Anonymous said...

cialis for sale can you buy cialis in thailand - best buy cialis online

Anonymous said...

buy cialis online buy cialis in usa - cialis 5mg online australia

Anonymous said...

buy cialis online cialis online from canadian pharmacy - buy cialis pay with paypal

Anonymous said...

buy cialis online cialis daily when to take - buy cialis online usa paypal

Anonymous said...

cialis for sale buy cialis pattaya - buy cialis through paypal

Anonymous said...

xanax online xanax dosage- yellow bars - how much is generic xanax without insurance

Anonymous said...

how to buy cialis online buy cialis online reviews - cialis 75 mg

Anonymous said...

learn how to buy tramdadol tramadol 50 mg use dogs - buy tramadol europe

Anonymous said...

http://landvoicelearning.com/#23561 tramadol 10mg - buy tramadol order cheap tramadol online

Anonymous said...

buy discount tramadol getting off tramadol withdrawal - tramadol extended release cost

Anonymous said...

buy tramadol buy tramadol with paypal - buy generic tramadol no prescription

Anonymous said...

buy tramadol overnight tramadol dosage extended release - kind drug tramadol 50mg

Anonymous said...

http://landvoicelearning.com/#57594 tramadol no high - ultram tramadol usa

Anonymous said...

buy tramadol tramadol withdrawal vs vicodin withdrawal - tramadol medication online

Anonymous said...

tramadol without prescription tramadol 50mg max dosage - buy tramadol online overnight shipping

Anonymous said...

buy generic tramadol order tramadol from usa) - tramadol 50/ 100 mg

Anonymous said...

http://landvoicelearning.com/#62431 generic drug for tramadol - buy tramadol online cod overnight

Anonymous said...

ways to buy ativan online lorazepam 1mg ratiopharm - ativan withdrawal plan

Anonymous said...

cheap generic xanax xanax effexor overdose - xanax and alcohol is fun

Anonymous said...

order tramadol no prescription buy tramadol online in europe - buy tramadol overnight delivery

Anonymous said...

http://staam.org/#74560 tramadol 100mg sr tablet - possible get high tramadol

Anonymous said...

buy tramadol online where can i buy tramadol usa - tramadol overdose in dogs treatment

Anonymous said...

buy tramadol online stop tramadol addiction - tramadol withdrawal migraine

Anonymous said...

xanax generic xanax cost walmart - xanax and alcohol overdose symptoms