ToastGodSupreme Posted January 24, 2003 Share Posted January 24, 2003 Can't figure it out really. What I'm trying to do it have a few programs start minimized. These are registry entries, not shortcuts on the start menu (one of the hotfixes released by MS breaks the functionality of the shortcuts running minimized {look what I X'ed out on the screenshot. that is broken, seriously, I've done many tests on many systems}). What is circled is what I'm trying to use to run minimized. I just don't know the switch or whatnot to get it to run minimized. /minimized = nope -h = nope I dunno, those were just random guesses, I was hoping you guys would know the internal command. Thanks in advance. Link to comment Share on other sites More sharing options...
+primortal Subscriber² Posted January 24, 2003 Subscriber² Share Posted January 24, 2003 strange, my laptop is hotfixed up the wazoo and the 'minimize' setting on the shortcut works fine.... Type a wsh script Set WshShell = WScript.CreateObject("WScript.Shell") Return = WshShell.Run("c:\windows\system32\taskmgr.exe", 7, false) Link to comment Share on other sites More sharing options...
ToastGodSupreme Posted January 24, 2003 Author Share Posted January 24, 2003 thanks for the tip, but it doesn't work Link to comment Share on other sites More sharing options...
+primortal Subscriber² Posted January 24, 2003 Subscriber² Share Posted January 24, 2003 change 'windows' to 'winnt', i wrote the script to work on my machine.... It a filename/path issue. Correct it to match your system. Link to comment Share on other sites More sharing options...
ToastGodSupreme Posted January 24, 2003 Author Share Posted January 24, 2003 change 'windows' to 'winnt', i wrote the script to work on my machine.... It a filename/path issue. Correct it to match your system. I WUB J00!!!!1 :D :thumbup: :jump: Link to comment Share on other sites More sharing options...
Thekk Posted January 24, 2003 Share Posted January 24, 2003 For even higher compatibility use %windir% instead of 'hardcoding' the windows directory in your script.. Thus: c:\windows\system32\taskmgr.exe becomes %windir%\system32\taskmgr.exe Greetings, Thekk Link to comment Share on other sites More sharing options...
Recommended Posts