Hi Gregor,
Thanks for your answer, I do know about "Execute shell command" node,
however I am unable to delete a subdir with all its content (including
the dir itself)
For example in the Directory filed I set the full path to the parent dir
and under Client field I use "server" While under shell command I use
every way I know to delete dir in dos rd /q <subdir>
del /q <subdir>
deltree <subdir>
del or rd alone
The best result I got so far was removing the content of the subdir but
that's not enough as I do need to remove the entire subdir
Can you please help here?
Thanks
Yosi
-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
Sent: Wednesday, October 17, 2007 11:07 PM
To: qftest-list@?.de
Cc: Yossi Loson
Subject: Re: [QF-Test] Delete a file/folder from the filesystem using
script
Hi Yossi,
there are many ways. The most convenient probably are using an
"Execute shell command" node, or using a "Server script" node
employing Python's shutil package. See
http://www.python.org/doc/2.0.1/lib/module-shutil.html
for details about the latter.
Best regards,
Greg
"Yossi Loson" <yossi.l@?.com> writes:

Hello,
Can anyone explain how do I delete a file/folder from the file system?
I am working on WinXP and have the latest QFTest version (2.1.0 P3)
Also
I have several test suites I want to run in batch mode, is there a way
to do this?
Thanks