Re: Setting new date with offset in days
- From: "Paul E. Schoen" <pstech@xxxxxxxxx>
- Date: Thu, 18 Jun 2009 01:12:59 GMT
"Dr J R Stockton" <reply0925@xxxxxxxxxxxxxxxxxx> wrote in message
news:NNPURNG6UROKFwzl@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In comp.lang.javascript message <6DSZl.2817$u86.831@xxxxxxxxxxxxxxxxxxxx
, Tue, 16 Jun 2009 19:45:06, Paul E. Schoen <pstech@xxxxxxxxx> posted:
Is there a group for the WSH?
The Usenet mechanism distributes
<news:microsoft.public.scripting.wsh>
<news:microsoft.public.scripting.vbscript>
<news:microsoft.public.scripting.jscript>
and you can ask Google Groups about the sub-hierarchy.
Unfortunately my new Verizon News server does not carry them. But there's
always google groups.
And a JScript can access the FSO to do file operations using
the WSH, and it uses a WScript.echo() as a replacement for prompt().
Not equivalent, though.
Yes, I meant alert(). It is missing any equivalent for prompt().
I would assume, however, that the program generates an MSDOS executable
that runs in a DOS window.
Yes, except that one has both the 32-bit Command Prompt window and the
16-bit MS-DOS Prompt one. I keep one open for such purposes, and for
batch tools.
I did not realize there was a difference. I found this resource interesting
and helpful:
http://commandwindows.com/command1.htm
I was also amazed at the many commands that are available, and there is a
link to the Microsoft XP Pro documentation for command line reference. But
there is still no equivalent to prompt() for accepting user input text. It
does allow pause but accepts any key. I suppose one could use "copy con:
textfile" and then use the text in that file for some purpose, but
generally the only way to supply user input is in the command line
parameters when the batch file is invoked.
Thanks,
Paul
.
- Follow-Ups:
- Re: Setting new date with offset in days
- From: Dr J R Stockton
- Re: Setting new date with offset in days
- References:
- Setting new date with offset in days
- From: Paul E. Schoen
- Re: Setting new date with offset in days
- From: Thomas 'PointedEars' Lahn
- Re: Setting new date with offset in days
- From: Paul E. Schoen
- Re: Setting new date with offset in days
- From: Dr J R Stockton
- Re: Setting new date with offset in days
- From: Thomas 'PointedEars' Lahn
- Re: Setting new date with offset in days
- From: Paul E. Schoen
- Re: Setting new date with offset in days
- From: Richard Cornford
- Re: Setting new date with offset in days
- From: Paul E. Schoen
- Re: Setting new date with offset in days
- From: Dr J R Stockton
- Re: Setting new date with offset in days
- From: Paul E. Schoen
- Re: Setting new date with offset in days
- From: Dr J R Stockton
- Setting new date with offset in days
- Prev by Date: Re: Real-time server push?
- Next by Date: Re: how to put in an HTML element the content of a txt file?
- Previous by thread: Re: Setting new date with offset in days
- Next by thread: Re: Setting new date with offset in days
- Index(es):
Relevant Pages
|