Scriptdir = objFSO.GetParentFolderName(WScript. ![]() Set objFSO=CreateObject("Scripting.FileSystemObject") You could use 'taskschd.msc', Windows's task scheduler, to execute your script on startup, but it's a bit complicated on Windows 10/8 because of the 'fast startup' feature, so probably the best way would be creating a task with a event as it's trigger and that event should be a system event generated on each startup, otherwise the task would onl. ![]() ![]() In 2021 you can user power of Powershell and get full control of such actions, for example set a shortcut in shell:startup folder to starter.vbs file: Dim objShell,objFSO,objFile
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |