89Views4Replies

Author Options:

I need an editable program that will copy and overwrite a file, then open a jar file. Answered

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
thegeeke
thegeeke

Best Answer 8 years ago

How about a .bat file? Something like this:

@echo off
copy /y "SourcePath\file.extention" "DestinationPath\file.extention
start file.jar
exit

That should do it. To edit it, just right click and click "edit".

0
iceng
iceng

Answer 8 years ago

+1

0
thegeeke
thegeeke

Answer 8 years ago

I also just saw that instructables put a new line by the destination path and file... Just to clarify, there is no line. Also there is a quotation mark at the end of the path\file.extention.

Good luck! :)

0
Jayefuu
Jayefuu

8 years ago

Perl will also do this. As will a lot of other languages.

What else do you want the program to do?