PDA

View Full Version : Published EXE won't generate new files


ohad
02-17-2010, 05:13 AM
Hey,

I'd like to create a very simple vizard script that creates a text file and writes a string to it. I'm using :

file = open("myFile.txt",'a')
file.write("My Text")
file.flush()

And it works just fine.
When I'm publishing the script the process runs fine but the created EXE won't generate a new "myFile.txt" file as it's .viz unpublished version did.

funny isn't it... Any idea?

Thanks,
Ohad

Jeff
02-17-2010, 08:47 AM
The following thread explains how to do this.

http://forum.worldviz.com/showthread.php?t=2276