Key Stroke Generater for use in DOS

Excutioner

Active Member
Joined
May 24, 2006
Messages
77
Reaction score
0
Hi guys does anyone know of a keystroke generater for dos, because I'v got a heck of a lot of files to delete in a dos program and i dont feel like push the select and del button a 1000 times :sick:

thanks
 
as dos isnt multitasking you will have a hard time, the only thing i can think of that would do something like this is a TSR (terminate and stay resident) program.

however, if you know where the files are on the filesystem it would be a heck of a lot easier to go kung-fu on their a$$ using the command line.
 
Just use a batch file with standard input.

To demonstrate just create a batch file with all the commands in it. If you need to provide input (a confirmation or similar) use standard input files.

For example:

1x Text file for saying Yes (pressing Y and enter)

In dos prompt/window type:

Copy con yesfile.txt (creates a new file with standard input)
Press Y and then enter (all the commands as you would)
and then F6 and enter (to close the file)

This will create a text file called yesfile.txt and in it will be a Y and a carriage return.

To use this file as a quick example:

format a: < yesfile.txt

The standard input will send the commands contained in the yesfile.txt as they have been typed.

It will work in 99% of cases.

Once you've played around with this a bit then u can create a dos batch file that'll run all the commands with standard inputs as you like.

PM me if u need assistance.
 
thanks guys but i think i worded that wrong, im using a Windows 98 machine to do the task its just that Im running a Novell Client - pconsole :that manages the print queues for the machines and its a dos shell program and theres 100s of entries in there that i need to get rid of so pushing F5 and down arrow for every entry doesnt seem like the best way of doing it.:eek:
 
use shift 8 and select all the print jobs

IIRC, worked a long while ago with pconsole :o

same happened to myself - queue was full of useless print jobs.

Another method is to delete the queue and recreate it again :) (only do this if you're familiar with novell's pconsole) ;)
 
yeah thanks Lib, i just tried that now (the shift 8) and it looks like my version of novell has done away with that :( and deleting the queue would be a nightmare theres way to many batch files that are dependent on that queue so it looks like I'v just gotta bite the bullet and keep taping away at F5 and down arrow till either my keyboard or fingers break..
 
Which version of Novell's you running?

You can press F1 to get context-sensitive help, browse a bit through the help screen.
 
Im running 4.90 sp1a ,just checked the help now and stupidly enough it only has a "unmark all" nothing about marking all :mad: oh well back to the senseless tapping away kinda reminds me of playing Diablo with all those mouse clicks :cool:
 
Im running 4.90 sp1a ,just checked the help now and stupidly enough it only has a "unmark all" nothing about marking all :mad: oh well back to the senseless tapping away kinda reminds me of playing Diablo with all those mouse clicks :cool:

:(

Good luck with that :)
 
Top
Sign up to the MyBroadband newsletter
X