Announcement

Collapse
No announcement yet.

User Profile

Collapse

Profile Sidebar

Collapse
Rems
Rems
Moderator
Last Activity: 21st February 2017, 19:50
Joined: 16th March 2005
Location: NL
  • Filter
  • Time
  • Show
  • Source
Clear All
new posts

  • Yup the dialog box will also popup from a scheduled task.

    Scheduled Task > actions > start a program: powershell.exe -executionpolicy ByPass -file "D:\shutdown computer.ps1" -WindowStyle hidden
    Code:
    Start-Process -WindowStyle hidden -FilePath 'SHUTDOWN.exe' -ArgumentList
    ...
    See more | Go to post
    Last edited by Rems; 9th February 2017, 01:28.

    Leave a comment:


  • Rems
    replied to wscript launch exe file spaces in path
    Have you tried with doubled double quotes around the paths?, ...not tripled.

    Because the "wscript.exe ... " command line is put between double quotes (the whole is one parameter on the owexec.exe command line) the inner double quotes needs to be escaped in order to prevent the...
    See more | Go to post
    Last edited by Rems; 1st February 2017, 20:38. Reason: added CODE-tags

    Leave a comment:

No activity results to display
Show More
Working...
X