Path: csiph.com!4.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.albasani.net!news.mixmin.net!aioe.org!.POSTED.wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org!not-for-mail From: "R.Wieser" Newsgroups: microsoft.public.scripting.vbscript Subject: Re: CreateShortcut on cmd.exe - how to set fullscreen mode ? (not WindowStyle) Date: Wed, 17 Apr 2019 10:35:02 +0200 Organization: Aioe.org NNTP Server Lines: 33 Message-ID: References: <15wfltoi321aw.1mu2g2082zaym$.dlg@40tude.net> NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.9.2 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-MSMail-Priority: Normal X-Priority: 3 Xref: csiph.com microsoft.public.scripting.vbscript:12080 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