Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to put a output file in a network path with Fortran f90

  1. Jan 24, 2012 #1
    Hello Folks

    I have a program code in Fortran f90, that program generate an output file and put that into the same directory where the program resides, I need to put that output file in a network path ex: \\server_name\resource_shared

    I will appreciate if you could provide me the commands in fortran to do this

    Thank you very much in advance and regards
  2. jcsd
  3. Jan 25, 2012 #2


    User Avatar
    Homework Helper

    You can specify the path when declaring the output device, so I'd think the path could be a network drive.

  4. Jan 26, 2012 #3


    User Avatar
    Science Advisor

    Hey socorroros and welcome to the forums.

    One thing that you can do is to map a network path to a drive. You can do this in windows. Something like this should help:

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook