Jump to content

need help creating a program


maniaq

Recommended Posts

hi, i don't know if i'm writing in right section, but i need help.

first of all i know how create a program that copies all needed files to some place i want (with installshield) but then i face up some problems:

first of all i have a .bat file that should be launched when i install the program and inside that file a have many lines with this line

"I386 source"
which i want change during my program installation, something like this:

i want to locate windows source I386 folder and i want that "I386 source" would be changed to it, for egzample

from this

"I386 source"

to this

E:\Atomix\XP\XP\I386

insise that .bat file (maybe there is an easier way).

how could i do that? :}:huh::unsure:

Edited by maniaq
Link to comment
Share on other sites


I don't quite get what you're saying so I'll say two (possible) methods?

1) Maybe you could add the command

set i386src=E:\Atomix\XP\XP\I386

to your batch file.

And use variable %i386src% or something like that.

SET doesn't always work for me...

2) Use a program like notepad++.

Go on Search>Replace, type I386 source and in the change to box type E:\Atomix\XP\XP\I386

Check Match whole word and click replace all.

Edited by T D
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...