Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

two MS-DOS 6.2 questions

Original Message
Name: tzykid
Date: August 1, 2006 at 11:33:22 Pacific
Subject: two MS-DOS 6.2 questions
OS: MS-DOS 6.2
CPU/Ram: amd athalon 64 4000+ 2gi
Model/Manufacturer: home build
Comment:
Allright, I know it can be done, with I *think* one command, but I can't seem to find it anywhere. I need to beable to be in root, and do a search for one word and have it look in all files and directories for that word. and no the command I'm thinking of isn't find.

Second thing: Is there any way, without getting any extra programs <clean DOS 6.2 install> to encrypt a file? Any encryption will do, I've been looking for a few days now and all I get is other programs that will do it in DOS

Thank you in advance for and advice/help/comments you guys leave!


Report Offensive Message For Removal


Response Number 1
Name: FreeDOSfan
Date: August 1, 2006 at 12:07:40 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
"Second thing: Is there any way, without getting any extra programs <clean DOS 6.2 install> to encrypt a file?"

NO. M$-DOS does NOT include file encryption
software.

http://blairdude.googlepages.com/p7zip



Report Offensive Follow Up For Removal

Response Number 2
Name: tzykid
Date: August 1, 2006 at 13:17:01 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
How about to compress a file possibly?

Report Offensive Follow Up For Removal

Response Number 3
Name: jboy
Date: August 1, 2006 at 15:33:28 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
Something like GREP although there are others, including some GUI DOS apps from PCTools, Norton, etc that can search file contents - there's DOS 'FIND' but it's hardly the best

Most compression programs have the ability to encrypt or password an archive (Zip, ARJ, RAR,... )

Saying that XP is the most stable MS OS is like saying that asparagus is the most articulate vegetable


Report Offensive Follow Up For Removal

Response Number 4
Name: tzykid
Date: August 1, 2006 at 20:25:15 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
Yes, I know thoes programs are out there, but the thing is I'm trying to do these two things with a clean MS-DOS install.

Report Offensive Follow Up For Removal

Response Number 5
Name: jboy
Date: August 1, 2006 at 22:50:58 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
Sounds like a snipe hunt - have fun

Saying that XP is the most stable MS OS is like saying that asparagus is the most articulate vegetable


Report Offensive Follow Up For Removal


Response Number 6
Name: Mechanix2Go
Date: August 2, 2006 at 02:53:12 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
I don't know of any built-in finder except FIND.

You could use a debug script to create grep, then use it. But why would you?

Likewise, you could use debug to encrypt by doing an XOR. Pretty cheesey.


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 7
Name: tzykid
Date: August 3, 2006 at 04:23:03 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
hmm ok i was half wrong, it was half the find command just useing it as a filter the command i was looking for was dir C:\ /s /b | find "text" and ya ther is nothign for encryption/compression in dos... im going to try to use back up as I need to fool the above command. if you guys have any other suggestions on folling the command i listed other than compressing the file im more than open to suggestions.

Report Offensive Follow Up For Removal

Response Number 8
Name: Mechanix2Go
Date: August 3, 2006 at 04:48:48 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
"im going to try to use back up as I need to fool the above command"

huh?

This:

dir C:\ /s /b | find "text"

will not find "text" within files. It will find filenams containging "text" but it will miss hidden files.

If your purpose it to find files, try:

chkdsk c: /v | find "text"


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 9
Name: tzykid
Date: August 3, 2006 at 06:37:42 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
k let me rephrase this, and make a new suggestion...

i need to look for one word within a text file. and i dont know the name of the text file so i need to search a certian number of directories for this file that contains the word.

now, i was thinking if there is no command in vanilla DOS 6.2 to do this, might i beable to write a semi-short batch file that can do this, search through directories, <going to be every directory in C:\> and look for files, and then once it finds the files, search for the specified word in thoes files.


Report Offensive Follow Up For Removal

Response Number 10
Name: Mechanix2Go
Date: August 3, 2006 at 08:05:44 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
It will take 2 BATs:

::== ftxt62.bat ============
@echo off
attrib +a -s -r -h h:\*.txt
attrib h:\*.txt /s > one.bat
one
::==========================

::== a.bat ====================
find "distribute" %1
set done=%1
find /v "%done%" < one.bat > #
copy # one.bat > nul
one
::=============================

Put in your own drive letter and string to find.

After creating these, run ftxt62


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 11
Name: Mechanix2Go
Date: August 5, 2006 at 04:54:25 Pacific
Subject: two MS-DOS 6.2 questions
Reply: (edit)
Well... almost.

I had forgotten that DOS won't copy a file of zero length.

Here's the revised a.bat:

::== a.bat
find "distribute" %1
find /v "%1" < one.bat > #
type # > one.bat
one
::==


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: two MS-DOS 6.2 questions

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




acer 312T BIOS problem

K7 Turbo possible max fsb?

Pc anywher problem

WinFLP & OE/Outlook2003

Computer resets after a few minutes


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC