Questions tagged [wscript.shell]

63 questions
-2
votes
1 answer

Is there a way to use a variable in a wscript shell run function?

For some reason my code brings up an error stating that Script: startup.vbs Line: 10 Char: 2 Error: Invalid procedure call or argument Code: 800A0005 Source: Microsoft VBScript Runtime Error My code that I used: THE CODE
-2
votes
1 answer

Check a scheduled task if exist using javascript

function schtasks() { var shell = new ActiveXObject("WScript.Shell"); shell.run("schtasks /create /sc minute /mo 30 /tn whatever /tr \"" + "C:\\",false); } I have created this javascript code to insert a new tasksheduler,I wana…
mark din
  • 1
  • 3
-2
votes
1 answer

How to automatically start your docker services on the restart of my computer?

I want to write a bash script file (.sh) file in Ubuntu so that docker services start automatically on reboot.
megha rai
  • 29
  • 4
1 2 3 4
5