Output Path
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-07-24 01:37 AM
‎2006-07-24
01:37 AM
ch2 = open ("DATA", ProjectNumber + "_Comp_" + TypeModeName + ".txt","SEPARATOR=',', MODE = WO, H:\SomeFolder\)
I would use LIBRARY for the path, except my file does not exist yet, and i do not want to save it in the data folder.
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-07-25 06:10 AM
‎2006-07-25
06:10 AM
Mark wrote:Try this - this is the format I use.
I am trying to create a text file using the database extension in a specific path. My script stops when i try to do this. Any ideas?
ch2 = open ("DATA", ProjectNumber + "_Comp_" + TypeModeName + ".txt","SEPARATOR=',', MODE = WO, H:\SomeFolder\)
I would use LIBRARY for the path, except my file does not exist yet, and i do not want to save it in the data folder.
The file path and name needs to be all one entry.
ch2 = open ("DATA", "H:\SomeFolder"+ProjectNumber + "_Comp_" + TypeModeName + ".txt","SEPARATOR=',', MODE = WO")
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-07-26 12:38 AM
‎2006-07-26
12:38 AM
Thanks Barry, that did the trick.
Such a simple syntax error, i must have tried everything but this.
Such a simple syntax error, i must have tried everything but this.
