Jump to content

trying trying to find a switch to copy files


plpl78

Recommended Posts

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 ?

Link to comment
Share on other sites


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
Link to comment
Share on other sites

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 ??

Link to comment
Share on other sites

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...