1.

Solve : Many Questions on Copy/Replacing Files?

Answer»

Before I post, I just want to say I'm NEW here. I've made some EXTREMELY BASIC batch files a long time ago, so it's safe to say that I'm practically completely new at this. Please be extremely specific with me as I'll have difficulty understanding short forms.

My girlfriend and myself play an online game called "Fiesta". Recently they've done a few updates which changed the user interface (To be known as UI for the duration of this post). They informed the players that they could change the UI to whatever they wish, and they're provide a guide on how to later. Using the guide I figured out how to edit it and I reverted it to the previous UI. The file is a .tga file.

Now I won't be able to make it over to my girlfriends for some time so I was wanting to make her a batch file so I wouldn't have to walk her through replacing it. The batch file was to simply TAKE the new skin which she would download (Named Skin.tga) and replace the old skin (Same file NAME, different directory).

The file she would download's directory would be:
C:\Users\(Unknown, does this have to be known or is there a way to bypass this?)\Downloads\Skin.tga

and the file would need to replace the Skin.tga at this directory:
C:\Program Files (x86)\Outspark\Fiesta\Skin\Skin.tga

All I'm looking for is how to replace the files, if the full directory name is needed or if I can bypass that part, and if there's a way to have it replace the second file without knowing where the first file is saved to.

Much thanks in advance.Code: [Select]@echo off
copy %userprofile%\Downloads\Skin.tga %PROGRAMFILES(x86)%\\Outspark\Fiesta\Skin\Skin.tga /Y



Discussion

No Comment Found