SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Computer Learning

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: thecow who wrote (20878)6/21/2001 9:58:46 AM
From: PMS Witch  Read Replies (2) of 110652
 
C:\progra~1\trayman>trayman -u

This could be a typo...

In DOS, the > character is a re-direction command. It is used to force default output to another destination. A good example is the DOS's SORT command.

SORT <Jumbled.dat >Sorted.dat

The contents of Jumbled.dat is given to SORT. Instead of writing the sorted data to the screen, SORT writes it to the file Sorted.dat. (It could just as easily be sent to a printer (SORT <Jumbled.dat >PRN))

We can see that < re-directs input and > re-directs output.

As given in your post, C:\progra~1\trayman>trayman -u would be interpreted as a command for the program C:\progra~1\trayman to execute and send its output to a file named trayman. The following -u confused the command interpreter, and caused the error message to be printed and the command aborted. Had the command interpreter continued, your system would not have been able to locate an executable file named C:\progra~1\trayman. An different error message would've been printed.

As you observed, things progressed normally when the correct command, C:\progra~1\trayman\trayman -u was given.

Cheers, PW.

P.S. Besides Re-direction characters, <, and >, DOS supports |, or the pipe command. Pipes direct output from one command to become input for another. An example...

TYPE filename.dat | MORE

This takes the output from TYPE, (the contents of filename.dat) and feeds it to MORE. MORE is the DOS command for displaying data one screenfull at a time.

.
.
.
.
P.P.S.

HELP!!!

My husband had his suit shrunk at the cleaners. It went in as a 40 and came back as a 38. It's never happened to him before. Does this happen often? Can anything be done?
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext