Pre/post command How to??
I want to create a valid pre-command under BU-options in one True-Image task that I have specified.
Whith this command I want to perform the same task as I earier have scheduled in Windows XP schedueled Tasks(but now unschedueled and before my True Image task).
In the properties window of this task the following line has been generated in the RUN box from my other application that I have scheduled before :
D:\Program\CopyTo\CopyTo.exe /exec "E:\9-SystemSysHant-verktyg\BU-jobb\copyToSynkProj\BU-Synk E--W.cp2"
If I copy this line directly into the EDIT-window and Command box and then test this command I get Error message (User command execution failed).
I have also tried to divide this line into the other boxes of the edit window. but without success.
Can anyone give me a hint on how to transfer the Run command in Win XP:s scheduled task into a valid pre-command in True image.
As you migth understand I hav very brief knowledge in commands for Dos/Win command lines.
Thanks in advance for any help
Rgds/ Bjorn

- Se connecter pour poster des commentaires

I've only used batch files with ATI pre/post commands; I would suggest that approach for anything complicated.
Could it be a permissions issue? Is ATI running as a user that has appropriate privileges for the locations and functionality? I'm presuming when you tested the batch file, you didn't have to elevate?
- Se connecter pour poster des commentaires

Thank David for your comment
I am running (also the bat-file command) as an ADMIN user with full privileges so that cannot be a problem.
I only have one user registrated and that is ADMIN.
Hope to get some more hints on why the .bat-file is not running when the ATI task is running.
Rgds/ Bjorn
- Se connecter pour poster des commentaires

You could try using a .CMD file instead of a .BAT file and see if it makes a difference.
Does the program require displaying a GUI in order to function or does it require any user input? If so, running it from a TI task directly won't work.
- Se connecter pour poster des commentaires

Thanks for your input MudCrab.
Using .cmd-file gives the same (negative) result.
The program that the .bat/.cmd- file starts has a GUI but it needs no user input.
Apperently it is some difference between when I run the test and when I run the ATI task itself.
The fact that the GUI window doesn't open when the ATI task is running but it opens OK in the test mode, is this something that is a problem (bug) in ATI.
Rgds / Bjorn
- Se connecter pour poster des commentaires

One of the undocumented features of my Drive Notify program is that it can launch a program outside the TI task. If you're interested in trying it, send me a PM.
Was there a specific reason you originally ran the CopyTo task from the Windows Task Manager and are now trying to run it as a pre-command in a TI task?
- Se connecter pour poster des commentaires

Hi again
First the reason for taking out the CopyTo-task from Win Task SCHEDULER (not Task Manager) is that I want CopyTo and ATI to run directly after each other. When scheduelling them each separately I have to know how long time the Copy To task max could last which is difficult. It may take between 5 to160 min, but mostly around 10 min.
I now have found another solution that works . The CopyTo Application also have a post command function. So I put in a batch command that started the ATI task from there.This worked exactly as I whished.
Thanks all for your input to my problem.
Regds/ Bjorn
- Se connecter pour poster des commentaires