Changing the file seperator

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ioshonowo
    New Member
    • Sep 2007
    • 31

    #1

    Changing the file seperator

    Good day.

    Is it possible to change the file seperator from \ (which is the unix default) to / (which is the windows default) for Netbeans?

    If so how can it be done?
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by ioshonowo
    Good day.

    Is it possible to change the file seperator from \ (which is the unix default) to / (which is the windows default) for Netbeans?

    If so how can it be done?
    Let the File class do the dirty work w.r.t. file path representations , don't
    push your luck. Btw, Unix uses a forward slash; Microsoft decided to not conform
    to it; (as alway).

    kind regards,

    Jos

    Comment

    • ioshonowo
      New Member
      • Sep 2007
      • 31

      #3
      Originally posted by JosAH
      Let the File class do the dirty work w.r.t. file path representations , don't
      push your luck. Btw, Unix uses a forward slash; Microsoft decided to not conform
      to it; (as alway).

      kind regards,

      Jos

      I am using the RandomAccessFil e. Will it still work?

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by ioshonowo
        I am using the RandomAccessFil e. Will it still work?
        Sure, that class is just a convenience class anyways; if you feed it a valid File
        of String path it'll open the file for you; no problem; just don't fiddle with the path
        separator String yourself.

        kind regards,

        Jos

        Comment

        Working...