DriveImage XML in 64 bit Task scheduler

0

1

I would like to use Windows Task Scheduler to make a backup with DriveImage XML.

The first problem, which I somehow managed to solve, is that Windows Task Scheduler will not run 32 bit programs if Windows is 64bit. So I followed this article, and added C:\Windows\SysWOW64\cmd.exeto the Program/script: in the actions of the task.

In Program/script I have added %systemroot%\Syswow64\cmd.exe and in the arguments I have added /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe" This allows me to run DriveImage XML in Windows Task Scheduler, even if it is a 32 bit application.

But this is where it gets a little tricky. Now that I have added /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe" how can I append the arguments used for DriveImage XML? I tried to use this guide but it does not account for the "32bit in 64 bit issue"...

So if anyone can help me to setup DriveImage XML in Windows Task Scheduler I would be very grateful.

Please see this picture for what I have achieved so far

Arete

Posted 2016-01-19T20:46:54.147

Reputation: 830

Perhaps try adding your DIXMl arguments within quotes, after is dixml.exe, ie: /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe dixlmargument1 dixlmargument2" – Ƭᴇcʜιᴇ007 – 2016-01-19T21:10:46.820

Please don't edit the answer into your question. [su] is a question and answer site and answers should be separate from questions. You can answer your own question instead.

– DavidPostill – 2016-01-23T16:58:11.560

Answers

1

I realized that I should not have quotation marks on the end path. %systemroot%\Syswow64\cmd.exe /C "C:\Program Files (x86)\Runtime Software\DriveImage XML\dixml.exe"/bc /tB:\\DRIVE IMAGES\\Windows10_maintenance_backup solved it.

Arete

Posted 2016-01-19T20:46:54.147

Reputation: 830