• Get involved.
    We want your input!
    Apply for Membership and join the conversations about everything related to broadcasting.

    After we receive your registration, a moderator will review it. After your registration is approved, you will be permitted to post.
    If you use a disposable or false email address, your registration will be rejected.

    After your membership is approved, please take a minute to tell us a little bit about yourself.
    https://www.radiodiscussions.com/forums/introduce-yourself.1088/

    Thanks in advance and have fun!
    RadioDiscussions Administrators

Batch files

So here's the deal. I am using an old PC as a print server using 3 separate instances of Hyperterminal to capture text from 3 different Sage Endecs. I need to write a batch file to open these 3 instances up on boot up. Sure, you can ad hyperterminal in the start menu but no specific instance. Any wanna reply with a written batch file for this since I have not written a batch file in years (20 to be exact) and wouldn't even know where to start.
HELP
Thanks.
 
> So here's the deal. I am using an old PC as a print server
> using 3 separate instances of Hyperterminal to capture text
> from 3 different Sage Endecs. I need to write a batch file
> to open these 3 instances up on boot up. Sure, you can ad
> hyperterminal in the start menu but no specific instance.
> Any wanna reply with a written batch file for this since I
> have not written a batch file in years (20 to be exact) and
> wouldn't even know where to start.
> HELP
> Thanks.
>

I could be mistaken, but I think something like this would work:

Create a batch file named "Start1.bat" which contains:

hypertrm.exe config1.xxx

(The config file is the name of the configuration you use to connect to the Sage, I don't remember how the name is formatted)

Place "Start1.bat" in your startup folder.

It should work. Keep in mind that it's been a few years for me as well!<P ID="signature">______________
</P>
 
> I could be mistaken, but I think something like this would
> work:
>
> Create a batch file named "Start1.bat" which contains:
>
> hypertrm.exe config1.xxx
>
> (The config file is the name of the configuration you use to
> connect to the Sage, I don't remember how the name is
> formatted)
>
> Place "Start1.bat" in your startup folder.

Can't you just put the *config* file (I think they're .ht files if I remember properly) in the startup folder? Shouldn't need a batch file at all.

It should know to use Hyperterm to open that file. And if there's more than one .ht file in Startup, it *should* open multiple instances.

Haven't tried it though, so wouldn't be totally amazed if it doesn't work<grin>.
 
Create a shortcut to hyperterminal. Go to its properties. In the target box, it will have the path to it in quotes. Put a space and then "configfilehere.smth" (use the quotes) or whatever else you want to put as the command line argument. Run it to test it. Move it to the startup group.

Step 2: fire the jackass intern that trips over the cord and interrupts the power in the first place.<P ID="signature">______________
</P>
 
> > So here's the deal. I am using an old PC as a print server
>
> > using 3 separate instances of Hyperterminal to capture
> text
> > from 3 different Sage Endecs. I need to write a batch file
>
> > to open these 3 instances up on boot up. Sure, you can ad
> > hyperterminal in the start menu but no specific instance.
> > Any wanna reply with a written batch file for this since I
>
> > have not written a batch file in years (20 to be exact)
> and
> > wouldn't even know where to start.
> > HELP
> > Thanks.
> >
>
> I could be mistaken, but I think something like this would
> work:
>
> Create a batch file named "Start1.bat" which contains:
>
> hypertrm.exe config1.xxx
>
> (The config file is the name of the configuration you use to
> connect to the Sage, I don't remember how the name is
> formatted)
>
> Place "Start1.bat" in your startup folder.
>
> It should work. Keep in mind that it's been a few years for
> me as well!
>


I take it by the use of hyperterminal that this is a 9x box. If it's NT, remember to put "start" before the command in he batch file you want to start, else it will wait for that process to end before going to the next line.
 
Status
This thread has been closed due to inactivity. You can create a new thread to discuss this topic.


Back
Top Bottom