pwyzorski-wyzgu
Enthusiast
Enthusiast

how does file i/o work with this?

Jump to solution

I am basically trying to read a properties file off of the VMO servers local hard drive. I tried a Properties.load command with a valid filepath, but it didn't seem to work. I then resorted to the filewriter object giving it an explicit filepath on the VMO server. For example: "C:\myfile.txt", but it didn't work either. What am I missing here?

~Patrick

Don't forget if the answers help, award points

Don't forget if the answers help, award points
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal

Yes, in Javascript like in Java, you have to put two \ \ instead of one or use the / to define path strings

View solution in original post

0 Kudos
4 Replies
pwyzorski-wyzgu
Enthusiast
Enthusiast

how lame of me. It should be "C:
myfile.txt" or even better "C:/myfile.txt". JavaScript, go figure....

Don't forget if the answers help, award points

Don't forget if the answers help, award points
0 Kudos
admin
Immortal
Immortal

Yes, in Javascript like in Java, you have to put two \ \ instead of one or use the / to define path strings

View solution in original post

0 Kudos
pwyzorski-wyzgu
Enthusiast
Enthusiast

You are correct. It was actually using the GUI to program with that threw me off.

~Patrick

Don't forget if the answers help, award points

Don't forget if the answers help, award points
0 Kudos
admin
Immortal
Immortal

moving threat to appropriate forum since it's more fitting as a workflow discussion versus one relating to plugin or web service API.

0 Kudos