Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.javascript > #8109
| X-Received | by 10.99.108.8 with SMTP id h8mr45095053pgc.50.1481536809639; Mon, 12 Dec 2016 02:00:09 -0800 (PST) |
|---|---|
| X-Received | by 10.157.11.248 with SMTP id 111mr5953440oth.4.1481536809533; Mon, 12 Dec 2016 02:00:09 -0800 (PST) |
| Path | csiph.com!feeder.erje.net!2.us.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!p16no5621573qta.1!news-out.google.com!j8ni37325qtc.0!nntp.google.com!p16no5621569qta.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | it.comp.lang.javascript |
| Date | Mon, 12 Dec 2016 02:00:09 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=93.66.80.157; posting-account=OwmecgoAAABtnAM8o49ZOdZSHd6uspDt |
| NNTP-Posting-Host | 93.66.80.157 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <c0ca2c89-7139-4cda-b1bb-da4353957f6f@googlegroups.com> (permalink) |
| Subject | Scrivere su file TXT |
| From | tres.farc@gmail.com |
| Injection-Date | Mon, 12 Dec 2016 10:00:09 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Lines | 25 |
| Xref | csiph.com it.comp.lang.javascript:8109 |
Show key headers only | View raw
Ri-ecchime qua!
Ho un problem.
Di solito uso queste quattro righe di codice per creare (o sovrascrivere) un file "Esempio.txt" e metterci la stringa "CIAO".
//************************
function scrivi() {
var fs, a, ForAppending;
ForAppending = 2;
fs = new ActiveXObject("Scripting.FileSystemObject");
a = fs.OpenTextFile("Esempio.txt", ForAppending, true);
a.Write('CIAO');
a.Close();
fs = null;
}
//*********************
Funziona molto bene, ma solo CON INTERNET EXPLORER e basta.
Possibile che non esista un metodo che mi dia il medesimo risultato con altri browser??????????
Come faccio?
Grazie e buone feste
Back to it.comp.lang.javascript | Previous | Next — Next in thread | Find similar
Scrivere su file TXT tres.farc@gmail.com - 2016-12-12 02:00 -0800
Re: Scrivere su file TXT Alessandro Pellizzari <shuriken@amiran.it> - 2016-12-12 10:43 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-12 06:36 -0800
Re: Scrivere su file TXT "ciccio" <21669invalid@mynewsgate.net> - 2016-12-12 15:33 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-12 07:54 -0800
Re: Scrivere su file TXT "ciccio" <21669invalid@mynewsgate.net> - 2016-12-12 16:31 +0000
Re: Scrivere su file TXT g4b0 <email_sul_mio_sito@che_leggi_in.firma> - 2016-12-13 09:02 +0100
Re: Scrivere su file TXT Alessandro Pellizzari <shuriken@amiran.it> - 2016-12-12 15:52 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-12 08:05 -0800
Re: Scrivere su file TXT "ciccio" <21669invalid@mynewsgate.net> - 2016-12-12 16:32 +0000
Re: Scrivere su file TXT Flng Fck <nothanks@invalid.invalid> - 2016-12-14 09:42 +0100
Re: Scrivere su file TXT Alessandro Pellizzari <shuriken@amiran.it> - 2016-12-14 10:20 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-14 06:09 -0800
Re: Scrivere su file TXT "ciccio" <21669invalid@mynewsgate.net> - 2016-12-14 15:27 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-15 02:22 -0800
Re: Scrivere su file TXT Alessandro Pellizzari <shuriken@amiran.it> - 2016-12-15 10:42 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-15 09:01 -0800
Re: Scrivere su file TXT Flng Fck <nothanks@invalid.invalid> - 2016-12-16 10:20 +0100
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-16 02:26 -0800
Re: Scrivere su file TXT Flng Fck <nothanks@invalid.invalid> - 2016-12-16 11:56 +0100
Re: Scrivere su file TXT Flng Fck <nothanks@invalid.invalid> - 2016-12-16 12:00 +0100
Re: Scrivere su file TXT Alessandro Pellizzari <shuriken@amiran.it> - 2016-12-17 13:25 +0000
Re: Scrivere su file TXT "ciccio" <21669invalid@mynewsgate.net> - 2016-12-17 14:22 +0000
Re: Scrivere su file TXT RedWiz <redwiz@inwind.it> - 2016-12-16 12:10 +0000
Re: Scrivere su file TXT tres.farc@gmail.com - 2016-12-16 05:02 -0800
Re: Scrivere su file TXT g4b0 <email_sul_mio_sito@che_leggi_in.firma> - 2016-12-16 14:25 +0100
Re: Scrivere su file TXT bramante <bramante@yopmail.com> - 2016-12-17 14:50 +0100
Re: Scrivere su file TXT antonio2001trimarchi@gmail.com - 2018-05-25 01:08 -0700
csiph-web