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


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

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-17 10:35 +0200
Organization Aioe.org NNTP Server
Message-ID <q96ofv$jd3$1@gioia.aioe.org> (permalink)
References <q943oc$kiv$1@gioia.aioe.org> <15wfltoi321aw.1mu2g2082zaym$.dlg@40tude.net>

Show all headers | View raw


JJ,

> Not programmatically possible using VBScript, because the API is
> a COM interface IShellLinkDataList.

Odd.  I can use CreateShortcut to create and alter it, but some of its 
attributes remain inaccessible.  Oh well.

I just did a google for "VBScript IShellLinkDataList".  Don't you just hate 
it when even the first page has results which do not even contain the words 
you're looking for.  I know I do. :-(

> It's not accessible from VBScript. You'll have to use PowerShell to
> access it.

??? /what/ powershell ?    This is Sparta^wXP ! :-)

Though while doing the above search I came across one which mentioned that 
setting a "run as administrator" just needed the flipping of one bit in the 
.lnk file, which made me realize I could most likely do the same.

Alas, although I think I found the byte it looks like that its not at a 
fixed location (even copying the origional .lnk file to a new location and 
changing the setting caused it to change its size), meaning that the file 
needs to be parsed.   Assuming I can access the file in a binary fashion 
that is.

I'll probably take a look at it, just not now. :-)

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