|Quick Death 2021-09-12 09:52
I had this working on my old computer, replaced it with a windows 10 and it broke!
I have two scripts I placed in: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
ExecuteHotKey.VBS & ScreenSaveSelective.VBS
neither shortcut seem to work. If I execute either manually I cannot get either working.
I tried creating a shortcut:
1) %WINDIR%\System32\wscript.exe "C:\Temp\script.vbs". Then right-click the newly created shortcut, select Properties from the menu, select the Shortcut tab and click on Advanced, then check the 'Run as administrator' option.
2) Creating a text file of script.vbs
|Christian Studer 2021-09-12 14:54
At least running wscript.exe directly should work (your option 1), even if the settings for .vbs files are messed up in the registry.
What did you put in script.vbs?
Christian Studer - www.realtimesoft.com