At Monday 4/12/2006 20:30, Thomas Thomas wrote:
I have a python application which i run as a service..
import win32api,string
drives=win32api.GetLogicalDriveStrings()
drives=string.splitfields(drives,'\000')
print drives
in the list of drives my mapped network drive is not showing when i
run the application as a service.
I tried running the service as an administrator but with similar results..
any work around for this situation..
All i want is to access network files when run the application as a service..
Services usually run as Local System account, and it does not have
access to mapped drives (that depends on the logged-in user).
You can use a UNC path instead: \\servername\sharename
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
--
http://mail.python.org/mailman/listinfo/python-list