cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2079
Views
25
Helpful
1
Replies

CUCM BAT For windows 64 and Office 2016

CUCM BAT file not running with the windows 64 bit and office 2016. Here i found the solution for that and I have tested that one. It works 100% perfectly in my laptop. which is windows 10 64bit and office 2016 64 bit one.

 

First You need to edit the VB script. Once you open the bat.xlt file you will get this kind of error.

Compile-Error.PNGThen You need to edit the VB script as bellow.Please make sure enter the correct keyword.

 

error1.PNG

Instead of the highlighted text area you need to enter the PtrSafe keyword In front of the Function keyword.

 

Ex:- Private Declare Function lstrcat

       after adding the PtrSafe key word : - Private Declare PtrSafe  Function lstrcat

 

error2.PNG

Please Be mindful to change the underlined keywords as follow.

 

shell32 should be shell32.dll

kernal32 should be kernal32.dll

You need to change all three statements as like this.

 

After doing all the changes please save the bat.xlt file renaming new file name.(please keep the xlt file format as it is)

 

Here I have attached the corrected xlt file. but it rename as .xls. Please rename it as .xlt after downloading the file.

1 Reply 1

dhanushka_
Level 1
Level 1
Thank You for this post. It's really helpful.