Re: Setting new date with offset in days




"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


.



Relevant Pages

  • setting perlio layers (e.g., utf8) on "magic" ARGV file handle
    ... I was able to find a few references to similar dilemmas by searching ... Google Groups, but none of them fully satisfied my question. ... I can use the "C" option on the command line to ... Unicode behavior, so it will not always be a viable workaround, ...
    (comp.lang.perl.misc)
  • Re: WSH Bible?
    ... wsh is probably not considered by some writers as original enough. ... It is their perception of a maturity that did not ... Stick with the group in Outlook Express, or use Google Groups. ... and gets minimum features on computer differentiation done. ...
    (microsoft.public.scripting.wsh)
  • Re: Chat broken?
    ... Killing all posts from Google Groups ... The Usenet Improvement Project: http://improve-usenet.org ... Perhaps first use this command, ...
    (rec.food.cooking)
  • Re: Ideas wanted
    ... >> Recently I've been developing a custom command line parser. ... >> that newsgroup. ... >> google groups, it also works for google images and news.) ...
    (comp.programming)
  • Re: Interesting thing to try to do
    ... twisted0n3@xxxxxxxxx schrieb: ... It said something wasn't a command. ... Unless the exact error message was included, ... When I search at google groups for "Command \@ already defined" the ...
    (comp.text.tex)