Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-19381

WScript.Shell.Popup stops working if CreateShortcut has been used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      The Popup disappears right away or has corrupted text.

      /* wscript.exe c:\thisfile.js */
       
      var FS=WScript.CreateObject("Scripting.FileSystemObject");
      var WS=WScript.CreateObject("WScript.Shell");
       
      function Lnk(d,n,t)
      {
          lnk = WS.CreateShortcut(FS.BuildPath(d, n));
          lnk.TargetPath = t;
          lnk.Save(); /* Comment out this line to fix the bug */
      }
       
      var csmp = WS.SpecialFolders("AllUsersPrograms");
      Lnk(FS.GetParentFolderName(csmp), "Test SM.lnk", "calc.exe");
      WS.Popup("world",2,"hello")
      
      

      reactos-bootcd-0.4.15-dev-7027-g7f346b1-x86-gcc-lin-dbg.iso

      Attachments

        Activity

          People

            Unassigned Unassigned
            whindsaks whindsaks
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: