GM:S 1.4 File Move[SOLVED]

Discussion in 'Programming' started by alper41, Mar 16, 2019.

  1. alper41

    alper41 Member

    Joined:
    Jul 5, 2018
    Posts:
    91
    Hello, I have an ini file and I want to move this ini file to another folder, I can't find the code that does this work
     
  2. marasovec

    marasovec Member

    Joined:
    Sep 15, 2016
    Posts:
    308
    You can use
    Code:
    file_copy("oldfolder\file.ini", "newfolder\file.ini")
    and then
    Code:
    file_delete("oldfolder\file.ini")
    to delete the old file
     
  3. alper41

    alper41 Member

    Joined:
    Jul 5, 2018
    Posts:
    91
    I solved the problem in a different way, thanks anyway
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice