Jump to content

Recommended Posts

Posted

ok guys im just starting to learn about this all and i have a quick question.

lets say i have a file called test.exe and using a .cmd file i want to copy that file to say

C:\Program Files\test but i dont want it to install it just to replace the test.exe all ready in folder C:\Program Files\test

can i do this using a .cmd file?

if so how ?


Posted (edited)

COPY "D:\somedir\test.exe" "%programfiles%\test" /Y

/Y to overwrite without prompt

Now the file test.exe is copied from D:\somedir to the C:\Program Files\test folder, and it will overwrite the existing file

for more info:

copy /? :)

Edited by erik_demon
Posted

ok man im trying it as we speak i have another question im just not sure i need to post a new topic about it but here it is lol

on a inno setup program is there a switch to add in the serial number ??

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...