A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 8 » Windows 8 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Explorer search.



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old May 9th 15, 12:33 AM posted to alt.comp.os.windows-8
Peter Jason
external usenet poster
 
Posts: 2,310
Default Windows Explorer search.

I have this working OK, but I need to have the search results swept
into some other folder while the search is going on overnight.
For example, he search:
kind=picture dimensions(1200) X (1600)
Finds hundreds of images that are tedious to move afterwards.
Peter
Ads
  #2  
Old May 9th 15, 02:30 AM posted to alt.comp.os.windows-8
Keith Nuttle
external usenet poster
 
Posts: 1,844
Default Windows Explorer search.

On 5/8/2015 7:33 PM, Peter Jason wrote:
I have this working OK, but I need to have the search results swept
into some other folder while the search is going on overnight.
For example, he search:
kind=picture dimensions(1200) X (1600)
Finds hundreds of images that are tedious to move afterwards.
Peter


I believe you can save the search results from the Windows Explorer
search, (never did it but that is what I have read) If not I believe
there are third party software that will.

If this is a one time thing, write a batch file to move files from the
one directory to the other. Even with a lot of files it can be done
quite quickly in a word processor with a macro, or in a spreadsheet by
adding strings.

Yes batch file still run under Windows 8.1.

Some years ago I sat through a meeting in the company I worked for and
was told how secure their computers and LAN was. They said they
prevented all programs from running that were not approved.

I routinely created batch files on my desktop (Windows 7) and moved the
results of the DIR command to text files so that I could import the
files into Access. I could have done a lot with batch files on there
system.
  #3  
Old May 9th 15, 04:33 AM posted to alt.comp.os.windows-8
Peter Jason
external usenet poster
 
Posts: 2,310
Default Windows Explorer search.

On Fri, 08 May 2015 21:30:06 -0400, Keith Nuttle
wrote:

On 5/8/2015 7:33 PM, Peter Jason wrote:
I have this working OK, but I need to have the search results swept
into some other folder while the search is going on overnight.
For example, he search:
kind=picture dimensions(1200) X (1600)
Finds hundreds of images that are tedious to move afterwards.
Peter


I believe you can save the search results from the Windows Explorer
search, (never did it but that is what I have read) If not I believe
there are third party software that will.

If this is a one time thing, write a batch file to move files from the
one directory to the other. Even with a lot of files it can be done
quite quickly in a word processor with a macro, or in a spreadsheet by
adding strings.

Yes batch file still run under Windows 8.1.

Some years ago I sat through a meeting in the company I worked for and
was told how secure their computers and LAN was. They said they
prevented all programs from running that were not approved.

I routinely created batch files on my desktop (Windows 7) and moved the
results of the DIR command to text files so that I could import the
files into Access. I could have done a lot with batch files on there
system.


Thanks for this. I have never done anything with batch files, but
there seems to be a few examples available.
http://library.blackboard.com/ref/df...mple_files.htm
http://www.melbpc.org.au/pcupdate/8900/8904article3.htm
http://www.ericphelps.com/batch/samples/samples.htm
http://www.robvanderwoude.com/batexamples.php
Peter
  #4  
Old May 9th 15, 12:44 PM posted to alt.comp.os.windows-8
Keith Nuttle
external usenet poster
 
Posts: 1,844
Default Windows Explorer search.

On 5/8/2015 11:33 PM, Peter Jason wrote:
On Fri, 08 May 2015 21:30:06 -0400, Keith Nuttle
wrote:

On 5/8/2015 7:33 PM, Peter Jason wrote:
I have this working OK, but I need to have the search results swept
into some other folder while the search is going on overnight.
For example, he search:
kind=picture dimensions(1200) X (1600)
Finds hundreds of images that are tedious to move afterwards.
Peter


I believe you can save the search results from the Windows Explorer
search, (never did it but that is what I have read) If not I believe
there are third party software that will.

If this is a one time thing, write a batch file to move files from the
one directory to the other. Even with a lot of files it can be done
quite quickly in a word processor with a macro, or in a spreadsheet by
adding strings.

Yes batch file still run under Windows 8.1.

Some years ago I sat through a meeting in the company I worked for and
was told how secure their computers and LAN was. They said they
prevented all programs from running that were not approved.

I routinely created batch files on my desktop (Windows 7) and moved the
results of the DIR command to text files so that I could import the
files into Access. I could have done a lot with batch files on there
system.


Thanks for this. I have never done anything with batch files, but


The examples I looked at are quite complex. The basic Batch file to doe
what you want would contain the following line.

Name of file transfer.bat
Copy c://subdirectory/FILEXXXX.XXX

You would save and run the above batch file in the directory that you
want the files copied.

It would then copy the file from c://subdirectory/FILEXXXX.XXX to the
directory where you want the file.


If it were me, once I had the files found from the search in a text
file, I would open them in a spread sheet.

Assuming the file name is in CellA1 in CellB1 I would put the follow
function

"Copy "&CellAT.

I would then copy and save the files in a third column as values.

Then copy the third column to an ASCII word processor (Wnindows Notepad)
and save the file as transfer.bat


Alternatively Open the search results in a word processor. Create a
macro to add "Copy " to the location and drop down to the first of the
next line. Repeat until all copy commands are created, save as ASCII
(Text file) aa Transfer.bat.

You may have to play with the subdirectory part of the results,
depending on the version of Windows you have.

This is an example of a little batch file I use to clean out Word
Perfect backup files

dir /s *.BK! test.txt
del /s *.BK!


the "test.txt" creates a log of the files that were be deleted.
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 01:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.