Hi, Mark
Thank you very much for your reply.
Now I understand that Windows' "SYSTEM" account is not
the same as Unix's "root" account.
Finally I solved my problems based on Roger Upole's suggestions.
Here is what I did:
in client side, I use WNetEnumResource to get mapped share name,
M:->\\serv
> One piece of the program is to check a file exist or not as follows:
>
> szNormPath= os.path.normpath(strFileName)
> nRetCode = os.access(szNormPath, os.F_OK)
> # nRetCode = os.path.exists(szNormPath)
>
> When the file path is C:\shared\t.txt, no problem.
> When the pat
Hi,
I have a python program running 24x7.
One piece of the program is to check a file exist or not as follows:
szNormPath= os.path.normpath(strFileName)
nRetCode = os.access(szNormPath, os.F_OK)
# nRetCode = os.path.exists(szNormPath)
When the file path is C:\shared\t