Open GoogleCodeExporter opened 9 years ago
I've tried this VB Script to run the .bat in the hidden mode but no success:
-----------------------------VBS----------------------------------
sBatFile = "C:\Documents and
Settings\rnicolau\.syncnotes2google\sgtn\syncnotes2google.bat"
Set oShell = CreateObject("WScript.Shell")
oShell.Run """" & sBatFile & """", 0, True
-----------------------------VBS----------------------------------
It give an error like this:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/googlecode/syncnotes2google/SyncNotes2Google
How can I force the .bat find com.googlecode?
Regards
Original comment by rafadelb...@gmail.com
on 13 Apr 2010 at 8:11
I've maded.
Just need to put the VBS file together with the sync.properties file and,
in the "Run" of the task I put this:
C:\WINDOWS\system32\wscript.exe hidden.vbs
and on "Start in" just need to put the address from the root folder where
sync.properties and hidden.vbs files are.
And it run hidden!
Original comment by rafadelb...@gmail.com
on 13 Apr 2010 at 8:38
Original issue reported on code.google.com by
rafadelb...@gmail.com
on 13 Apr 2010 at 6:05