Author |
Message |
mediaman09
Joined: 18 Sep 2011 Posts: 9
|
Posted: Sun Sep 18, 2011 4:23 pm Post subject: Execute batch file prior to scheduled task. |
|
|
I have a VIce Versa task to copy files from PC01 to PC05.
Works fine, except of coruse when PC05 is sleeping.
I have a simple batch file (WAKE05.BAT) on PCO1 to manually and remotely wake up PC05.
How can I incorporate this batch file into a local script to run just prior to the task??
(I suppose, as a workaound, I can use Windows 7 task scheduler to run the batch file, but thought I wpuld try it with Vice Versa first) _________________ Vice Vers Pro 2,5 | Windows 7, 64 bit Home Premium | Dell Dimension 9200 |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Mon Sep 19, 2011 8:54 am Post subject: |
|
|
Hi, in ViceVersa PRO 2.5 you can run scripts (including batch files) before starting execution, the settings is in profile settings -> advanced settings. thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
mediaman09
Joined: 18 Sep 2011 Posts: 9
|
Posted: Mon Sep 19, 2011 10:12 am Post subject: |
|
|
Yes I know, I can creatw a sceript, point to it, and run it before Vice Vers a compares/executes....but I am not familiar with scripts - never used them. I know ther are simple text files (.vbs) but I am not used to the syntaxt
I ssupect it's just a few lines I need to run MYBATCH.BAT
What are they? Is it something like this ? ''
===
'This script launches a batch file
BATCHNAME="MYBATCH.BAT"
Wscript.Shell = BATCHNAME
===
..and save the file as batch.vbs??? _________________ Vice Vers Pro 2,5 | Windows 7, 64 bit Home Premium | Dell Dimension 9200 |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Sep 20, 2011 3:35 am Post subject: |
|
|
Hi, a batch file is considered a script, you can point to MYBATCH.BAT directly in the profile settings, no need to create a VBS file. thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|