Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Hey Tekies, Green Party Ohio Recount Rep needs help with Triad machine!

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » Topic Forums » Election Reform Donate to DU
 
sabra Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 03:17 PM
Original message
Hey Tekies, Green Party Ohio Recount Rep needs help with Triad machine!
Edited on Thu Dec-23-04 03:18 PM by sabra
From another thread:

<<SNIP>>
megalith (2 posts) Thu Dec-23-04 02:14 PM
Response to Reply #6

10. Need HELP with DOS cmd on Triad DIR tree


Hello all
New poster and cannot start thread. I am working with the directory tree for installations of Triads Electab software in Ohio. Here is what I need. Please find me a DOS person to tell me the proper command so that I can get it out to our people in the field.

Knowing the name of a file, we need to locate that file on the hard disk and print its location, file size and last modified date.

I need the DOS command to do this from the root directory,, C:\

Now is a chance for DU to really help efforts with the recount

Orren Whiddon
SE Ohio Regional Co-ord
Green Party


<</SNIP>>

Thread: http://www.democraticunderground.com/discuss/duboard.php?az=view_all&address=203x190879#191057

Edit: for thread link
Printer Friendly | Permalink |  | Top
gulogulo Donating Member (208 posts) Send PM | Profile | Ignore Thu Dec-23-04 03:19 PM
Response to Original message
1. DIR name.ext /s - execute it from root directory n/t
Printer Friendly | Permalink |  | Top
 
sabra Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 03:22 PM
Response to Reply #1
3. Thanks, if this was a Unix request, I would have been able to help n/t
Printer Friendly | Permalink |  | Top
 
sabra Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 03:19 PM
Response to Original message
2. They need help from MS DOS experts!
Printer Friendly | Permalink |  | Top
 
KingoftheJungle Donating Member (355 posts) Send PM | Profile | Ignore Thu Dec-23-04 03:28 PM
Response to Reply #2
4. If they want to pay my airfare
Edited on Thu Dec-23-04 03:28 PM by KingoftheJungle
Shit I'll go ;-)

DOS is like the weenie Unix
Printer Friendly | Permalink |  | Top
 
GetTheRightVote Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 03:34 PM
Response to Reply #4
5. They can use this command to get help on DOS = FASTHELP
Edited on Thu Dec-23-04 03:42 PM by GetTheRightVote
Still checking into it, did a little with DOS but no much.

Have they tried typing DIR at the command promt ??
This should give them file layout and I can not remember if it also displays the file with time info. Still checking into it though.

Have they used this command yet,

ATTRIB = Display and change file attributes.
Printer Friendly | Permalink |  | Top
 
Stop Shrub Donating Member (223 posts) Send PM | Profile | Ignore Thu Dec-23-04 03:40 PM
Response to Original message
6. pm me
if you need further help...
Printer Friendly | Permalink |  | Top
 
FULL_METAL_HAT Donating Member (673 posts) Send PM | Profile | Ignore Thu Dec-23-04 03:50 PM
Response to Original message
7. Full reference for dos DIR command
http://www.computerhope.com/dirhlp.htm#03

DIR SYNTAX

Microsoft Windows 95, 98, and ME syntax

Displays a list of files and subdirectories in a directory.

DIR

attributes]] sortorder]]

Specifies drive, directory, and/or files to list. (Could be enhanced file specification or multiple filespecs.)
/P Pauses after each screenful of information.
/W Uses wide list format.
/A attributes:
D Directories
R Read-only files
H Hidden files
A Files ready for archiving
S System files
- Prefix meaning not
/O List by files in sorted order, sortorder:
N By name (alphabetic)
S By size (smallest first)
E By extension (alphabetic)
D By date & time (earliest first)
G Group directories first
- Prefix to reverse order
A By Last Access Date (earliest first)
/S Displays files in specified directory and all subdirectories.
/B Uses bare format (no heading information or summary).
/L Uses lowercase.
/V Verbose mode.

Switches may be preset in the DIRCMD environment variable. Override preset switches by prefixing any switch with - (hyphen)--for example, /-W.

Microsoft Windows 2000 and Windows XP syntax

Displays a list of files and subdirectories in a directory.

DIR attributes]] sortorder]]

timefield]]

Specifies drive, directory, and/or files to list.
attributes D Directories R Read-only files
H Hidden files A Files ready for archiving
S System files - Prefix meaning not

/B Uses bare format (no heading information or summary).
/C Display the thousand separator in file sizes. This is the default. Use /-C to disable display of separator.
/D Same as wide but files are list sorted by column.
/L Uses lowercase.
/N New long list format where filenames are on the far right.
/O List by files in sorted order.
sortorder N By name (alphabetic) S By size (smallest first)
E By extension (alphabetic) D By date/time (oldest first)
G Group directories first - Prefix to reverse order

/P Pauses after each screenful of information.
/Q Display the owner of the file.
/S Displays files in specified directory and all subdirectories.
/T Controls which time field displayed or used for sorting
timefield C Creation
A Last Access
W Last Written
/W Uses wide list format.
/X This displays the short names generated for non-8dot3 file names. The format is that of /N with the short name inserted before the long name. If no short name is present, blanks are displayed in its place.
/4 Displays four-digit years

EXAMPLES

dir = Lists all files and directories in the directory that you are currently in.
dir /ad = List only the directories in the current directory.
dir /s = Lists the files in the directory that you are in and all sub directories after that directory, if you are at root "C:\>" and type this command this will list to you every file and directory that is on the computer.
dir /p = If the directory has a lot of files and you cannot read all the files you can use this command and it will display all files one page at a time.
dir /w = If you don't need the info on the date / time and other information on the files you can use this command to list just the files and directories going horizontal taking as little as space needed.
dir /s /w /p = This would list all the files and directories in the current directory and the sub directories after that in wide format one page at a time.

ADDITIONAL INFORMATION

DIR \ /S |FIND "i" |MORE = A nice command to list all directories on the hard drive, one screen page at a time, and see the number of files in each directory and the amount of space each occupies, use this command:

DIR > myfile.txt - Takes the output of dir and re-routes it to the file myfile.txt instead of outputting it to the screen.


Printer Friendly | Permalink |  | Top
 
Up2Late Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 04:28 PM
Response to Original message
8. type DOSSHELL
see if it's still on the computer :argh:

also try it from cd c:\dos
if you don't find it in c:\
Printer Friendly | Permalink |  | Top
 
chorti Donating Member (104 posts) Send PM | Profile | Ignore Thu Dec-23-04 04:37 PM
Response to Reply #8
10. from the c:\ prompt
dir 'filename.ext' /s

or if you don't know extension, try

dir 'filename'.*** /s

'*' is the wildcard in DOS.
Printer Friendly | Permalink |  | Top
 
Senator Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 04:32 PM
Response to Original message
9. DOS Command Index
Printer Friendly | Permalink |  | Top
 
megalith Donating Member (44 posts) Send PM | Profile | Ignore Thu Dec-23-04 04:40 PM
Response to Reply #9
11. We know the file, not DIR
Hello

We know the name of the file, but not the directory; and directory structure changes from one machine to another. I need a command that from root < c:\ > will locate the file and print its date and file size. We have to be able to phone the command to folks who DO NOT know how to run DOS. It is probally DOS 6 and above

c:\ DIR filename.txt\s will only return the value if the directory the file lives in is in the path statement in autoexec.bat <which it probally is> is there something better?

Help please

Orren Whiddon
SE Ohiuo Green Co-ord
Printer Friendly | Permalink |  | Top
 
DrDebug Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 04:42 PM
Response to Reply #11
12. dir filename.txt /s
c:\ DIR filename.txt\s

you used the \ instead of the /
Printer Friendly | Permalink |  | Top
 
chorti Donating Member (104 posts) Send PM | Profile | Ignore Thu Dec-23-04 04:45 PM
Response to Reply #12
13. 2 commands
Do this first

cd c:\

and then

dir filename.ext /s
Printer Friendly | Permalink |  | Top
 
Senator Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 04:53 PM
Response to Reply #11
14. Are you are able to use utilities?
File finding was a known limitation of MS-DOS. And others filled the gap with utilities.

If you can use them here's one:

http://www.jpsoft.com/4dosdes.htm

Norton utilities also included a similar command.

Unix also had a grep command that was pure text search (including file names). Here a discussion that includes it and a link to a DOS utility:

http://forums.devshed.com/archive/t-200793

Hope this gets you there.

www.thedeanpeople.org
__
Printer Friendly | Permalink |  | Top
 
DoYouEverWonder Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 04:59 PM
Response to Reply #11
15. There is no quick way
You have to manually look in each directory.

You can get a list of all the main directors at the C prompt. However, within directories can be many subdirectories.

Usually you can tell from the Directory names which ones are worth looking in first.

Printer Friendly | Permalink |  | Top
 
megalith Donating Member (44 posts) Send PM | Profile | Ignore Thu Dec-23-04 05:01 PM
Response to Reply #15
16. GOT IT THANKS
c:\dir filename.txt /s

works

Hated DOStwenty years ago and still do
smile

THANKS ALL !!

orren
Printer Friendly | Permalink |  | Top
 
DrDebug Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Dec-23-04 05:02 PM
Response to Reply #16
17. You're welcome :)
Go find us some fraud ;)
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon Apr 15th 2024, 11:04 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » Topic Forums » Election Reform Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC