Hey, joker...
All you need to do is Right-click the link below and click "Save as..." and save it as RUNME.bat or WHATEVER.bat, just "something.bat" will do.
**LINK** (remember, right-click and save as...)
Then, once you have the .bat file saved onto your computer, right-click and select "Edit" and change only what I tell you to below:
- Change all the references to "Happy.cfg" to the name of your .cfg file.
- Change all references to "C:\folder\path" to your entire destination folder path. (i.e. "C:\Half-Life\cstrike\cfg")
After changing the references above, click "File" > "Save" and then you can send the file to your friend. The only thing that he has to do is make sure the .cfg file is in the same directory as your RUNME.bat file. For example, if both files are on the Desktop, it will work fine.
Remember, since you are working in
DOS, if the file/folder names are longer than
8 characters, then you want to type in the [/b]first 6[/b] and then a tilde mark
~ than the number
1.
==================================================
BTW, for those who are curious, the code for the batch file is below:
Code:
@ECHO OFF
ECHO Preparing to move configuration file
IF NOT EXIST .\Happy.cfg (
ECHO Configuration file not found!
) ELSE (
move .\Happy.cfg .\Happy
)
IF EXIST .\Happy\Happy.cfg (
ECHO File moved successfully!
) ELSE (
ECHO File NOT moved successfully!
)
It provides some 'idiot-proof' coding. Like the use of real english feedback, and the hiding of the commands it's really performing.
==================================================
If you have any questions, just ask!
HTH,
David
EDIT: I didn't think about the destination folder NOT being there. If he needs to create a new folder, just let me know what that new folder needs to be, and I can put it in there also. Let me know how this works for ya...