PDA

View Full Version : how to file existence??



chenyunying
03-29-2004, 01:08 AM
Hello~
I have one question about event function.
1.123.txt has already save in C:\WINDOWS\Temp.
2.When condition type=file existence,condition description=if file <temp>123.txt<temp> exists then go to one page.
3.execute event.And then demo do nothing.
Why <temp> can't use in file existence???
Is there some one could help me for how to detect temp file ?and can use in all kind windows OS.
ThankS.

eagle

KimberlyH
03-31-2004, 11:49 AM
When using the File Existence check within the Condition Builder you will need to specify a path to the file you are looking for. If you are looking for a file that resides in the Temp directory then the path specified would look something like the following:

<temp>\123.txt

I hope this helps.

chenyunying
03-31-2004, 09:08 PM
Dear KimberlyH:
I got it. And thank you for your help.

regards,
eagle

chenyunying
04-01-2004, 03:43 AM
There is a new problem. I'm using DS7.01.
1.In win 98/ME it can detect the file well.
2.But in win 2K/XP can't detect file.
Could you tell me how to do???
Thanks a lot~~~