dos command

Status
Not open for further replies.

24giovanni

Banned
Messages
878
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:

io.sys
config.sys

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

ANY IDEA WHY?

tia
 
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...
 
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
Code:
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.
 
Status
Not open for further replies.
Back
Top Bottom