Computing.Net > Forums > Disk Operating System > DOS question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DOS question

Reply to Message Icon

Name: goomnoo
Date: November 25, 2002 at 15:51:04 Pacific
OS: windows98se
CPU/Ram: 550/128
Comment:

I have a cash drawer that will open with this line when conected to Com Port 1:
mode com1:2400,n,8,1
copy con com1
^G^Z
My problen is when I make a exe. batch file, the prompt will not open the drawer until I type in control"^"G control"^"Z. Is there a line of code that DOS will reconize ^G^Z, without having to type it in. Control G and Z will not show in notepad when I type it in. I just want to press the batch file icon to open the cash drawer. Any help would be most gratefull. Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: November 26, 2002 at 02:41:23 Pacific
Reply:

Try this:

First, create the following file (auxfile) in the same directory of your batch typing

Copy con auxfile
^G^Z

Second, use this batch

@Echo Off
Mode Com1:2400,n,8,1
Copy AuxFile Com1 > NUL

It should work.



0

Response Number 2
Name: Debster62
Date: November 26, 2002 at 18:44:24 Pacific
Reply:

3 questions: How do I....

1. make my floppy dis a system disk without erasing the data already stored?

2. create an autoexec.bat file on the floppy that has the following directories in my path, dos on the hard drive, and dos and batch on the floppy?

3. create a config.sys that enables memory management?

Please help


0

Response Number 3
Name: IVO
Date: November 27, 2002 at 01:56:23 Pacific
Reply:

Dear Debster62, you have to open a new question not queueing an existing one.

1) Assumed C: is your system drive, the one hosting DOS, type
Sys C: A:
This transfers MSDOS.SYS, IO.SYS (hidden files) and Command.com to your floppy making it a bootable media;

2) Insert this line in your Autoexec.bat to be copied onto the floppy
Path C:\DOS;A:\DOS;A:\BATCH
To create Autoexec.bat use a text editor like Edit.

3) Start your Config.sys with the following lines
Device=C:\DOS\Himem.sys
Device=C:\DOS\Emm386 NoEMS
DOS=High,Umb
Change C to A if you wish to boot from A: assuming you have copied in A:\DOS Himem.sys and Emm386.exe.

Have a nice day.


0

Response Number 4
Name: IVO
Date: November 27, 2002 at 02:01:42 Pacific
Reply:

Sorry,
the second line in Config.sys must be

Device=C:\DOS\Emm386.exe NoEMS


0

Response Number 5
Name: goomnoo
Date: November 27, 2002 at 13:51:55 Pacific
Reply:

Thank you IVO - It worked!


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: DOS question

DR Dos Question www.computing.net/answers/dos/dr-dos-question/6557.html

DOS questions www.computing.net/answers/dos/dos-questions/14533.html

One more silly DOS question.... www.computing.net/answers/dos/one-more-silly-dos-question/6522.html