Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12085

Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle)

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle)
Date 2019-04-18 18:50 +0200
Organization Aioe.org NNTP Server
Message-ID <q9a9s0$pnc$1@gioia.aioe.org> (permalink)
References (1 earlier) <15wfltoi321aw.1mu2g2082zaym$.dlg@40tude.net> <q96ofv$jd3$1@gioia.aioe.org> <ix0f8eayditt$.nynhug80474v.dlg@40tude.net> <q99737$1l9v$1@gioia.aioe.org> <q99r2k$u4b$1@dont-email.me>

Show all headers | View raw


Mayayana,

>   Microsoft have pushed it for years now.

Which is actually a signal for me to stay away from it.  For some strange
reason (WGA, W10 pushing, forced telemetry, forced updates, etc) I do not
trust them too much anymore :-)

>  It stops at nulls.

Yep, that was it.  Funny though, as "read" doesn't have a problem with it.
But that was not even the biggest thing with it.  What was was that it
returned /much/ more data than that it actually read /and/ that it didn't
even bother to zero-out the remainder (before, or afterwards).  If it would
have been written by a student he would have flunked the assignment.

> Here's the solution:

Yep. He also uses the "how big is the file ? Do a 'read' with that size"
instead (just took a quick peek).

> The WSH planners assumed scripters wouldn't need or
> know about binary.

Most likely, yes.  It seems to be aimed at text-based stuff only.

On the other hand, its makes it rather easy to pull another component into
the script, which than can do whatever you want.   I think I've got a bit of
a love-hate relationship with it ...

>  If you don't need PowerShell it's just as well, for security's
> sake. PS has become a favorite exploit.

That might have lingered in the back of my mind too.

Regards,
Rudy Wieser



Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-16 10:22 +0200
  Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "Mayayana" <mayayana@invalid.nospam> - 2019-04-16 08:22 -0400
    Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-16 14:53 +0200
      Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "Mayayana" <mayayana@invalid.nospam> - 2019-04-16 09:11 -0400
        Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-16 17:43 +0200
  Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) JJ <jj4public@vfemail.net> - 2019-04-17 13:29 +0700
    Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-17 10:35 +0200
      Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) JJ <jj4public@vfemail.net> - 2019-04-18 09:24 +0700
        Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-18 08:56 +0200
          Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "Mayayana" <mayayana@invalid.nospam> - 2019-04-18 08:35 -0400
            Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "Mayayana" <mayayana@invalid.nospam> - 2019-04-18 10:25 -0400
            Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-18 18:50 +0200
          Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) JJ <jj4public@vfemail.net> - 2019-04-19 12:32 +0700
            Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) "R.Wieser" <address@not.available> - 2019-04-19 08:04 +0200
              Dictionary oddity (was: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle)) JJ <jj4public@vfemail.net> - 2019-04-20 22:37 +0700
                Re: Dictionary oddity (was: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle)) "Mayayana" <mayayana@invalid.nospam> - 2019-04-20 12:22 -0400
                Re: Dictionary oddity (was: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle)) "R.Wieser" <address@not.available> - 2019-04-20 20:02 +0200
                Re: Dictionary oddity JJ <jj4public@vfemail.net> - 2019-04-21 18:33 +0700
                Re: Dictionary oddity (was: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle)) "R.Wieser" <address@not.available> - 2019-04-20 19:34 +0200
                Re: Dictionary oddity JJ <jj4public@vfemail.net> - 2019-04-21 18:55 +0700
                Re: Dictionary oddity "R.Wieser" <address@not.available> - 2019-04-21 15:13 +0200

csiph-web