Jump to content

Hi everyone, so in windows 10 i noticed that CMD kept giving me "'AT' Command Deprecated". So Why is it not used anymore, and two how in the world do you use SCHTASKS. 

 

Examples of commands i used to run is:        

 

  • at 10:00 shutdown /f /r      
  • at 18:31 /interactive "cmd.exe"

 

But how would you model these commands with SCHTASKS and How can i run them at a specific time? For example "AT 18:32" With SCHTASKS

Link to comment
https://linustechtips.com/topic/885238-at-command-deprecated/
Share on other sites

Link to post
Share on other sites

If I am not mistaken, as I am going by memory on all this:

'at' command was introduced in Windows 2000. It was quickly replaced with SchTasks in Windows XP, and 'at' command was marked deprecated

SchTasks is really a command to generate a Task Schedule. It is the command line version of the Task Scheduler

 

SchTasks is supposed to be more powerful than 'at' command.

MS Doc of the 'new' command is here: https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx

'at' command became deprecated starting with Windows 8.0

Link to comment
https://linustechtips.com/topic/885238-at-command-deprecated/#findComment-10932210
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×