Order bitsadmin getnotifycmdline, getnotifyflags, getnotifyinterface

Today's article will introduce 3 commands: bitsadmin getnotifycmdline, bitsadmin getnotifyflags and bitsadmin getnotifyinterface in Windows.

Today's article will introduce 3 commands: bitsadmin getnotifycmdline, bitsadmin getnotifyflags and bitsadmin getnotifyinterface in Windows.

Bitsadmin getnotifycmdline command

The bitsadmin getnotifycmdline command to retrieve the command line is run when the data transfer ends.

Syntax

  bitsadmin / GetNotifyCmdLine 

Parameters

ParameterExampleJob Display name of the task or GUID

For example

The following command-line access example is used by the service when the task named myDownloadJob is completed.

  C:> bitsadmin / GetNotifyCmdLine myDownloadJob 

The bitsadmin getnotifyflags command

The bitsadmin getnotifyflags command retrieves the flags notified to the specified task.

Syntax

  bitsadmin / GetNotifyFlags 

Parameters

ParameterExampleJob Display name of the task or GUID

Note

The task may contain one or more flag announcements.

0x001 Create an event when all files in the task have been moved. 0x002 Create an event when an error occurs. 0x004 Disable notifications. 0x008 Create an event when the task is modified or the file transfer process is performed.

For example

The following example retrieves the flags that notify the job named myDownloadJob.

  C:> bitsadmin / GetNotifyFlags myDownloadJob 

The bitsadmin getnotifyinterface command

The bitadmin getnotifyinterface command determines whether another program has registered the COM callback interface for the specified task.

Syntax

  bitsadmin / GetNotifyInterface 

Parameters

ParameterExampleJob Display name of the task or GUID

Note

The command will display REGISTERED or UNREGISTERED.

Note: The program registered for the callback interface cannot be specified.

For example

The following example retrieves the interface informing the task named myDownloadJob.

  C:> bitsadmin / GetNotifyInterface myDownloadJob 

See more:

  1. Bitsadmin addfile command in Windows
  2. Bitsadmin getmodificationtime and bitsadmin getnoprogresstimeout command
  3. Bitsadmin getfilestransferred and bitsadmin commands getminretrydelay

You've just finished reading the article "Order bitsadmin getnotifycmdline, getnotifyflags, getnotifyinterface" edited by the TipsMake team. You can save order-bitsadmin-getnotifycmdline-getnotifyflags-getnotifyinterface.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV What file is PPTX? How to open, edit and convert PPTX files
NEXT » The chcp command in Windows