Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Printing Search Results (https://www.cableforum.uk/board/showthread.php?t=7539)

Stuartbe 11-02-2004 10:54

Printing Search Results
 
I hate this.... I have just taken a call from an EU with a problem...

She has performed a file search on win200 of all files over 1mb on a network drive. The list it has created is huge..... Now here is the problem.....

The user wants to print the results of the search. I have tried to duplicate this at my end and I can only find an option to print the files themselves and not the list....

Anyone have any ideas ????? :confused:

NB - screen dump is not an option as she would need to do 100+ print screen's :D

spacedhopper 11-02-2004 11:12

Re: Printing Search Results
 
Write a batch file to print the file names to a text file. Gimme 2 seconds, i have got one somewhere, that does exactly this.

spacedhopper 11-02-2004 11:20

Re: Printing Search Results
 
Quote:

Originally Posted by spacedhopper
Write a batch file to print the file names to a text file. Gimme 2 seconds, i have got one somewhere, that does exactly this.

EDIT:

1. open up notepad
2. type the command line: DIR /B > FileList.txt
3. Save it as filelist.bat (or whatever)
4. Execute it in the directory where the files are, then it wil create a text file called filelist.txt, with all the filename in

Bifta 11-02-2004 11:27

Re: Printing Search Results
 
Quote:

Originally Posted by spacedhopper
EDIT:

1. open up notepad
2. type the command line: DIR /B > FileList.txt
3. Save it as filelist.bat (or whatever)
4. Execute it in the directory where the files are, then it wil create a text file called filelist.txt, with all the filename in

But will that just show files over 1 meg?

spacedhopper 11-02-2004 11:31

Re: Printing Search Results
 
Quote:

Originally Posted by Bifta
But will that just show files over 1 meg?

Oh good point!! Let me look, i am sure it can be done

Stuartbe 11-02-2004 11:32

Re: Printing Search Results
 
Quote:

Originally Posted by Bifta
But will that just show files over 1 meg?

The problem is that the files are in several hundred different folders on a very large network drive......

I am rather limited to what I can install and run as the user only has standard system access and not admin...

spacedhopper 11-02-2004 11:34

Re: Printing Search Results
 
Quote:

Originally Posted by stuartbe
The problem is that the files are in several hundred different folders on a very large network drive......

I am rather limited to what I can install and run as the user only has standard system access and not admin...


Try this dude: http://www.karenware.com/powertools/ptdirprn.asp
free and looks very handy

Stuartbe 11-02-2004 11:39

Re: Printing Search Results
 
Quote:

Originally Posted by spacedhopper
Try this dude: http://www.karenware.com/powertools/ptdirprn.asp
free and looks very handy

Nice one -

Doesn't work though... User cant install and she is on a remote site so I cant ras in...

spacedhopper 11-02-2004 11:45

Re: Printing Search Results
 
hmm, a tricky one! let me have a think

spacedhopper 11-02-2004 11:49

Re: Printing Search Results
 
look here: http://groups.google.co.uk/groups?hl...orel.ca&rnum=2

there is a list of dos switches, etc, relevant to your problem. You could list the files in terms of file size, then delete the ones under 1 meg, maybe? I think you should be able to specify the directories and subs you want to use.

Stuartbe 11-02-2004 11:59

Re: Printing Search Results
 
Quote:

Originally Posted by spacedhopper
look here: http://groups.google.co.uk/groups?hl...orel.ca&rnum=2

there is a list of dos switches, etc, relevant to your problem. You could list the files in terms of file size, then delete the ones under 1 meg, maybe? I think you should be able to specify the directories and subs you want to use.

Cheers m8 - I will give that a try... Why the hell didn't microsoft include that facility ???

MetaWraith 11-02-2004 12:32

Re: Printing Search Results
 
for a list of DOS DIR command switches type dir /?
example DOS command dir /o:gen /s dir_to_start_list_from > list.txt

Why not simply import the aforementioned dirlist into Excel ?
Then you can easily discard the columns you dont want, such as date and timestamps.

To get the list of those just those files over a given filesize use the Autofilter feature. :)

Stuartbe 11-02-2004 12:55

Re: Printing Search Results
 
Quote:

Originally Posted by MetaWraith
for a list of DOS DIR command switches type dir /?
example DOS command dir /o:gen /s dir_to_start_list_from > list.txt

Why not simply import the aforementioned dirlist into Excel ?
Then you can easily discard the columns you dont want, such as date and timestamps.

To get the list of those just those files over a given filesize use the Autofilter feature. :)

Good idea - thanks m8... I will give it a try ! :)

Stuartbe 11-02-2004 14:55

Re: Printing Search Results
 
No go I am afriad m8...........

Locks up the system after finding 6-7 files......

This is a world wide mapped drive and is huge !!!!

Thanks for the help anyway ! :)

Millay 12-02-2004 00:16

Re: Printing Search Results
 
Surley if this is the case, would it not be simpler scheduling the batch command to run over night, genrating a nice text file the user can grab of the network the next day, I can knock you up a little VB script if it helps..

lemme know
Andy


All times are GMT. The time now is 04:24.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum