Forum posts for googleearth.exe

/f /im not working properly

In my previous post I made a .bat file to forcekill googleearth.exe

he is the code for that

@echo off
taskkill /im googleearth.exe
timeout /t 1 no break
START '' 'C:UsersPERGMDesktopGEActi.kmz'


I then used a .VPS script to hide the cmd screen.

so that it is smooth. Here is the code for that

'HideBat.vbs
CreateObject('Wascript.Shel').Run'Acti.bat' , 0 , True


This is all on Windows 8.

Eveyrything was working perfect until I turned off the PC for a few months. (Other priorities at my job took over my extra time) So I trying to run it now and the .bat file won't do the force kill part of the script. Unless I run as admin, which I did not have to do before. I cannot set the .bat to always run as admin but if I can make a shortcut for then I can. However I cannot get the .vbs to run properly after.

Any ideas? Greatly appreciated.

PS this the original link I posted
Closing and Opening a .exe with a batch file. Upon closing the program asks to save or not

View complete forum thread with replies

Other posts related to googleearth.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

How to find the installation directory of a third party application, such as Google Earth, u…
How to get the path of an unrelated file with java?
KML not opening in Google Earth through VB.net
Embedding Google earth in QT
Closing and Opening a .exe with a batch file. Upon closing the program asks to save or not
KML to control Optional Features (such as “Tour Guide”)
/f /im not working properly

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.