I think I am missing some thing simple but cant work it out!
I am trying to create a file. I have simply wired a path to a file that doesnt exist yet in to a open/create/replace file vi and it keeps giving me error 7 even though I have told it to create the file. Any suggestions?
Labvie 11.0.1f2 (32bit)
Solved! Go to Solution.
You need to make sure all the folders in the path are created first!
In these cases I generally use the OpenG function "Create Dir If Non-Exist" which will make folders recursivly if they don't exist. So if I want to make C:\blah\test\what and there doesn't even exist a C:\blah, then that function will make all of the folders needed. If the folders already exist it does nothing.