'rar' is not recognized as an internal or external command,
operable program or batch file.
import os
import time
source = [r'e:\temp\code',r'e:\temp\domains']
target_dir = r'e:\temp\bak'
target = target_dir+time.strftime('%Y%m%d%H%M%S')+'.rar'
rar_cmd = rar a -idcdp %s %s % (target,'
Ê÷Éϲä»Ò wrote:
'rar' is not recognized as an internal or external command,
operable program or batch file.
import os
import time
source = [r'e:\temp\code',r'e:\temp\domains']
target_dir = r'e:\temp\bak'
target = target_dir+time.strftime('%Y%m%d%H%M%S')+'.rar'
rar_cmd = rar a -idcdp %s
os.chdir() ?
thank you!
--
Dennis Lee Bieber [EMAIL PROTECTED]
news:[EMAIL PROTECTED]
On Fri, 24 Feb 2006 11:36:08 +0800, Ê÷Éϲä»Ò [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
thank everyone!!!
I'd had to run to work so couldn't test, but... notice this: