- Joined
- Jul 14, 2012
- Messages
- 231
- Reaction score
- 61
- First Language
- English
- Primarily Uses
- RMMV
Does anyone here know how to work with Batch Files? (.bat)
I know how to code it semi-well but there is one problem I can't figure out.
I am making a custom Mod/Auto Patcher for an Online Game (also future RPGMaker Games)
and I want to find the current directory to copy/replace custom files over the original.
This is how I have it setup as of now.
xcopy /y "C:\Users\%USERNAME%\Desktop\Game Mod 1.4\Original Backup Files\Music" "C:\MMO Folder\MMO Game Folder\Music" >nulThe problem is, some users don't use C:\ as their installation drives, I am trying to figure out how to set it up to locate and find the installation folder.
I tried replacing C:\ with %CD% but that doesn't seem to work.
I know how to code it semi-well but there is one problem I can't figure out.
I am making a custom Mod/Auto Patcher for an Online Game (also future RPGMaker Games)
and I want to find the current directory to copy/replace custom files over the original.
This is how I have it setup as of now.
xcopy /y "C:\Users\%USERNAME%\Desktop\Game Mod 1.4\Original Backup Files\Music" "C:\MMO Folder\MMO Game Folder\Music" >nulThe problem is, some users don't use C:\ as their installation drives, I am trying to figure out how to set it up to locate and find the installation folder.
I tried replacing C:\ with %CD% but that doesn't seem to work.
Last edited by a moderator:
