| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 21234 | 2002-06-21 01:13:00 | How do you make a Ping batch file? | Susan B (19) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 55697 | 2002-06-22 03:59:00 | Susan: I'll go upstairs now and see if anything got through. (it's 4nuts ...) I'm going to have to work to beat your post-count. I'm up to less than 1% of what I had (according to someone who had a look after I told him about the site). Addendum to DOS batch files: if you make a batchfile called runping.bat including a line like: ping %1 %2 %3 %4 you can add arguments/options to the command invoking the batch task: runping www.pressf1.co.nz -o -f -c:10 those arguments will be appended to the command. You could have: ping %1 -o -f to use a set of options which you always want, and add only the sitename. You can give *up to* the number of "%n" arguments you have given in the file. There's a limit of 9 (which there is way around) . (If you include the line: echo %0 , it will print the name of the batch file. That is actually useful --- it's a DOS thing inherited from UNIX which is used a LOT in system programming). |
Graham L (2) | ||
| 55698 | 2002-06-22 04:13:00 | wuppo, the www is *not* a prefix . It is a hostname . The rest of a sitename is the domain name . I do know about CNAMEs . . . I've got a master and 2 slave DNS servers on my home network . I once understood DNS enough to write the tables . B-) Now I just copy entries . I "seem to remember" having read "somewhere" that "some" browsers do this, in an effort to make things user-friendly . They certainly try to do this for the trailing "/" directory separator . It makes for more packets . . . but as everyone knows there is infinite bandwidth now . |
Graham L (2) | ||
| 55699 | 2002-06-22 04:14:00 | Sorry, unclear. Bug was that my first post didn't seem to appear, so I posted again. The double post wasn't the result of a bug, but the reason posted twice was. Hope that clarifies it. I am happy to be the first pleb to be a little click-happy. G P :8) |
Graham Petrie (449) | ||
| 55700 | 2002-06-22 05:26:00 | Graham, Not wanting to get into a war of semantics, but there are varying opinions on the definition of hostname . Heres one that disagrees with you: hostname 1 . (Or "sitename") . The unique name by which a computer is known on a network, used to identify it in electronic mail, Usenet news, or other forms of electronic information interchange . On Internet the hostname is an ASCII string, e . g . "foldoc . doc . ic . ac . uk" which, consists of a local part (foldoc) and a domain name (doc . ic . ac . uk) . The hostname is translated into an Internet address either via the /etc/hosts file, NIS or by the Domain Name System (DNS) or resolver . It is possible for one computer to have several hostnames (aliases) though one is designated as its canonical name . |
wuppo (41) | ||
| 55701 | 2002-06-22 05:41:00 | Graham L, I tried another email message and it bounced again . Yes, used the 4nuts with your name . You can email me if you like: -t-o-p-a-z-z-1-0-@hotmail . com . Remove all of the hyphens first . Thank you for the DOS batch files addendum, I'll have a good fiddle later . My main purpose for using ping is just to test that my internet connection is working OK as sometimes it stalls when first connecting and goes to sleep at other times . Also, sometimes when trying to upload files to my websites the FTP program can't send them and the ping usually shows that the site is unreachable for some reason . Don't worry about your post count, I'll be bombarding you with more DOS questions when I get my act sorted out and you'll have an opportunity to increase your tally then . ;-) :-) |
Susan B (19) | ||
| 55702 | 2002-06-23 04:36:00 | Susan: my account with them 4nuts seems to be suspended --- maybe the mailbox has filled up. I'll try making another one ... need to grab a computer which I can use for more than 15 mins to do that. Tomorrow maybe. | Graham L (2) | ||
| 55703 | 2002-06-23 05:29:00 | > maybe the mailbox has filled up. Yes, it will be full of Press F1 notifications!! ;-) No hurry, just when you're ready. :-) |
Susan B (19) | ||
| 55704 | 2002-06-23 05:54:00 | > Susan: my account with them 4nuts seems to be > suspended --- maybe the mailbox has filled up . I'll > try making another one . . . need to grab a computer > which I can use for more than 15 mins to do that . > Tomorrow maybe . May I ask why you can't use a computer for more than 15 mins? Sounds as if you jump into other peoples houses and use theirs when they're not looking :p |
-=JM=- (16) | ||
| 55705 | 2002-06-23 06:04:00 | > May I ask why you can't use a computer for more than > 15 mins? > > Sounds as if you jump into other peoples houses and > use theirs when they're not looking :p That's almost exactly what he does JM! You obviously didn't read the muggie page properly or you wouldn't be asking that. :-( |
Susan B (19) | ||
| 55706 | 2002-06-23 07:44:00 | > > May I ask why you can't use a computer for more > than > > 15 mins? > > > > Sounds as if you jump into other peoples houses > and > > use theirs when they're not looking :p > > That's almost exactly what he does JM! You obviously > didn't read the muggie page properly or you wouldn't > be asking that. :-( Yes it did read all the info on that page. But am still lost as to why only for 15 mins. Is it a library limit or something. Whenever I've been there, they don't seem to police it or anything. |
-=JM=- (16) | ||
| 1 2 3 4 5 6 | |||||