Home Ask Login Register

Developers Planet

Your answer is one click away!

Dubins February 2016

Can not use commands after set var= command

I am writing a file to silently install and application then move it to the correct directory and then install an update for the application. The problem I am having is that I cannot seem to use the move copy or del commands in the same line as the var.

    set var="c:\program file (x86)\program\program.exe" /qn
    set var1= move "c:\program file (x86)\program\program.exe" "c:\"

Any assistance will be very much appreciated!

Post Status

Asked in February 2016
Viewed 1,171 times
Voted 11
Answered 1 times


Leave an answer

Quote of the day: live life