Home AMX User Forum NetLinx Studio

Default file path

This is more curiosity than anything, but why does FILE_OPEN on some files require the full path of "'/opt/amx/user/fileName.txt'" while another file right next to it only works with 'otherFileName.txt'?

It's not a big deal, but it ends up requiring manual testing on everything. I thought I was being fancy by appending the full path in my fnFileRead until I figured out what was happening.

Comments

  • MLaletasMLaletas Posts: 226

    Interesting i have no noticed this, I have always just used the filename and extension never needed the filepath

  • logantvlogantv Posts: 31

    Yeah I've never needed it either until I ran into one file that wouldn't work without it. I guess I'll just remember that the full path exists and assume I won't need it again. Thanks

Sign In or Register to comment.