11-02-2004, 10:54
|
#1
|
|
Inactive
Join Date: Jan 2023
Posts: 4,984
|
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 ?????
NB - screen dump is not an option as she would need to do 100+ print screen's
|
|
|
11-02-2004, 11:12
|
#2
|
|
Inactive
Join Date: Jun 2003
Location: Derby
Age: 49
Posts: 101
|
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.
|
|
|
11-02-2004, 11:20
|
#3
|
|
Inactive
Join Date: Jun 2003
Location: Derby
Age: 49
Posts: 101
|
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
|
|
|
11-02-2004, 11:27
|
#4
|
|
Inactive
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
|
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?
|
|
|
11-02-2004, 11:31
|
#5
|
|
Inactive
Join Date: Jun 2003
Location: Derby
Age: 49
Posts: 101
|
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
|
|
|
11-02-2004, 11:32
|
#6
|
|
Inactive
Join Date: Jan 2023
Posts: 4,984
|
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...
|
|
|
11-02-2004, 11:34
|
#7
|
|
Inactive
Join Date: Jun 2003
Location: Derby
Age: 49
Posts: 101
|
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
|
|
|
11-02-2004, 11:39
|
#8
|
|
Inactive
Join Date: Jan 2023
Posts: 4,984
|
Re: Printing Search Results
Quote:
|
Originally Posted by spacedhopper
|
Nice one -
Doesn't work though... User cant install and she is on a remote site so I cant ras in...
|
|
|
11-02-2004, 11:45
|
#9
|
|
Inactive
Join Date: Jun 2003
Location: Derby
Age: 49
Posts: 101
|
Re: Printing Search Results
hmm, a tricky one! let me have a think
|
|
|
11-02-2004, 11:49
|
#10
|
|
Inactive
Join Date: Jun 2003
Location: Derby
Age: 49
Posts: 101
|
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.
|
|
|
11-02-2004, 11:59
|
#11
|
|
Inactive
Join Date: Jan 2023
Posts: 4,984
|
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 ???
|
|
|
11-02-2004, 12:32
|
#12
|
|
Inactive
Join Date: Oct 2003
Location: 2nd CPU to the right & past the cache
Posts: 1,949
|
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.
|
|
|
11-02-2004, 12:55
|
#13
|
|
Inactive
Join Date: Jan 2023
Posts: 4,984
|
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 !
|
|
|
11-02-2004, 14:55
|
#14
|
|
Inactive
Join Date: Jan 2023
Posts: 4,984
|
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 !
|
|
|
12-02-2004, 00:16
|
#15
|
|
Inactive
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
|
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
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 07:28.
|