View Single Post
Old 10-19-2012, 04:18 AM   #1
roadrunnerm
Junior Member
roadrunnerm began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2012
Device: Windows 7 x64 CPU-duocore 8GB-Ram
Startup Calibre-server on windows 7 x64 profesional

Automatic start Calibre-server.exe on WIndows 7 x64 Profesional

Target was and is to let start Calibre-server.exe on start up from Windows 7
We need 2 things to do

First make a little VBScript se below between the lines===
and save it in the Calibre install directory as Calibre.vbs
'================================================= =======
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs,strApp
strApp=chr(34)&"C:\Program Files (x86)\Calibre2\calibre-server.exe"&chr(34)
strArgs = "cmd /c "&strApp
'msgbox strArgs
oShell.Run strArgs, 0, false
'================================================= =======

Second make in the register a run command line
Open regedit and go to
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Make a new key name it Calibre-Server
Give the new key the value of "C:\Program Files (x86)\Calibre2\Calibre.vbs"
Close Regedit and every time Windows start Calibre server will start to whitout any left over MSDos commandline window

You can start the Calibre.vbs also start from Start >> Programs >> Startup or from a task
roadrunnerm is offline   Reply With Quote