Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Execute batch file prior to scheduled task.

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
mediaman09



Joined: 18 Sep 2011
Posts: 9

PostPosted: Sun Sep 18, 2011 4:23 pm    Post subject: Execute batch file prior to scheduled task. Reply with quote

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: 8759

PostPosted: Mon Sep 19, 2011 8:54 am    Post subject: Reply with quote

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

PostPosted: Mon Sep 19, 2011 10:12 am    Post subject: Reply with quote

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: 8759

PostPosted: Tue Sep 20, 2011 3:35 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: