Re: [python-win32] how to know the native file path of computer A on computer B

2006-03-21 Thread Michael Li
I forgot to mention that: W: on computer B is a mapped network drive, which is C:\shared on computer A. So W:\database\test.DB on computer B and C:\shared\database\test.DB on computer A are pointed to the same file. From computer B, I only know the file path is W:\database, when the program actual

Re: [python-win32] how to know the native file path of computer A on computer B

2006-03-21 Thread Michael Li
Hi, I got bunch of reply, thank you very much. But they are not what i want. Let me make it more clear, my code looks like: nRetCode = os.access(szFolder, os.F_OK) if nRetCode == 1: nRetCode = os.chdir(szFolder) szNormPath = os.path.normpath(szCommand) szBatchF

Re: [python-win32] how to know the native file path of computer A on computer B

2006-03-21 Thread Tom_RobbinsMilne
n32] how to know the native file path of computer A on        computer B Hi, all I want to run a command remotely, but I have to know the native file path on the remote computer from client computer. Here is

[python-win32] how to know the native file path of computer A on computer B

2006-03-21 Thread Michael Li
Hi, all I want to run a command remotely, but I have to know the native file path on the remote computer from client computer. Here is the details: -- --- || | | | computer A