dos command - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Closed Thread
Thread Tools Display Modes
Old 07-11-2006, 09:56 AM   #1 (permalink)
Join Date: Jul 2003
Posts: 878
Default dos command

is there a search/ find command in DOS to find a certain file? If so, what is the correct syntax to do it please? TIA

I am trying to find the following:


I found io.sys and tried copying it but it didn't work with the following command to a floppy copy io.sys a:



24giovanni is offline  
Old 07-11-2006, 11:31 AM   #2 (permalink)
Master Techie
Join Date: Oct 2003
Posts: 2,258

are you trying to make a bootable floppy or something?
The find command in dos is not for locating files, more like finding strings in files.

You can do a dir on the directory and that will show you all items there. You can do a dir /p to pause at each on screen page, ussually 80 items so you can read it and then move on. You can also do a dir filename.ext /s and that will scan the whole directory structure... i guess that might work for you...

Inaris is offline  
Old 07-11-2006, 06:16 PM   #3 (permalink)
Wizard Techie
Join Date: Apr 2004
Posts: 3,247

try the fully qualified locale/name to copy it
If you argue with an idiot he will drag you down to his level and beat you with experience.

I am not a fast writer.
I am not a slow writer.
I am a half-fast writer.

-Robert Asprin
killians45 is offline  
Old 07-11-2006, 07:53 PM   #4 (permalink)
Monster Techie
Join Date: May 2004
Location: /usr/root/mn/us
Posts: 1,118

The way to find a file through dos is to do a dir /a /s and pipe it to find.

This would be the way on a default windows install
dir /a /s c: | find /i "io.sys"
dir /a /s c: | find /i "config.sys"
Just to let you know, IO.SYS and CONFIG.SYS are located in the C:\ directory for a default install. They're hidden system files though, so you'll need to set explorer to see them.

Its a frigging Laptop, not a Labtop!!!!
bla!! is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:08 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.