H
Howard Brazee
I have a batch program that copies some files from my work computer to
a memory stick. At home, I have a batch file that copies them to
one computer, and another batch file that copies them to another
computer. (unfortunately the directory names are different).
I'd like to combine these - with something like this:
IF %computer name% = "Howard's Old Computer"
Destination = "Directory 1"
Actually, I see a work-around. All I need to do is create different
system variables for each computer. But it seems cleaner to use the
computer name.
a memory stick. At home, I have a batch file that copies them to
one computer, and another batch file that copies them to another
computer. (unfortunately the directory names are different).
I'd like to combine these - with something like this:
IF %computer name% = "Howard's Old Computer"
Destination = "Directory 1"
Actually, I see a work-around. All I need to do is create different
system variables for each computer. But it seems cleaner to use the
computer name.