topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday November 12, 2025, 5:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 118 119 120 121 122 [123] 124 125 126 127 128 ... 158next
3051
 :-[

I'll try. It seems very similar to the other one give me the error windows.

Going to study

 :P
3052
Don't ask me the name of the file ?
I double click but only obtain an error window.

Usage: ofth filename

Accept

What can I do now ?

Going to study the commands to see what I have to understand in the script.

 :-[
3053
OpenFolderThatHas filename

Opens every folder on the drive the script is run from, that contains a file filename. May use wildcards like *.cmd or *.txt. It only accepts one argument.  filename

It opens the folder and waits until the window is closed to do the next Loop.

if 0 < 1
{
  MsgBox, 8256, Open Folder That Has, Usage: ofth filename
  ExitApp
}
filename = %1%
tmp := A_ScriptDir
StringLeft,drive,tmp,3
FilePat := drive filename
Loop, %FilePat%,,1
{
  tmp := _FileDir(A_LoopFileLongPath)
  ;MsgBox, 8256, Test, %A_LoopFileLongPath%`n%tmp%
  Run,%tmp%
  WinWaitActive,%tmp%,,5
  if (ErrorLevel)
    continue
  while WinExist(tmp)
  {
    Sleep,250
  }
}

_FileDir(path)
{
  SplitPath,path,,fdir
  return fdir
}

edit: I removed the "#notrayicon" so it can be killed via tray icon to break the loop. Also note that it waits until a window with the title that matches the folder name no longer exists. If you happen to have the same folder already open, it will hang. So close all explorer windows before running, or fix the script. :)


Owwww. I think I made a mistake in the post above.
Really I wanted to quote this post

Trying

Best Regards
 :-[
3054
How are you finding the file?

I suppose with the same program used to open the folder.



Trying

I will comment
 :-*
3055
How are you finding the file?

I suppose with the same program used to open the folder.
3056
Do you already have a text listing of the files you want compressed?  As in, something like this:

c:\path\abc.txt
c:\another\path\def.txt
c:\more\stuff\ghi.txt



Skwire sounds me as something I must have. But...  :-[

How can I obtain the txt file listing ?

3057
ull search power of your chosen tool

better full search power of your chosen tool of course, but any limited solution is good too because  i need to do this task now and manually is very boring.

 :P
3058
Just now I did this (I have Locate32 and HAOzip installed, I think any archiver would probably do)

  • Brought up Locate32 (I can bring it up using Win-F on my system)
  • Did a search for .py (Python) files
  • Selected a dozen files from the search results.
  • Right clicked on the selected results
  • Clicked HaoZip > Add to archive (Note: the Windows Explorer right click menu is replicated in Locate32)
  • Clicked Browse and browsed to the Desktop
  • Gave the filename Test.zip and hit OK.
  • Opened the file Test.zip from the desktop and there were all the files I selected.

Is that something like what you need? (Re-reading the original post, I guess you are needing something more automated. It is a little more GUI, though. ;) )


Not very automated.
And the zip is only one. I would like any file individually packed to the corresponding zip or rar.

 :-*
3059
So, combining the line I provided with the work by daddydave:
Put rar.exe into somewhere accessible such as the windows folder, and then use this as a batch file:

setlocal
set oldcd=%cd%
for /R %%D in (.) do (
 cd "%%D"
 for %%1 in (*.txt) do rar m -x*.rar -m5 "%%1.rar" "%%1"
)
cd /d %oldcd%
endlocal

Run it in the top folder where you want the compression to happen. Don't run it at your root folder or some system files which should remain txt will be compressed as well. That would be asking for trouble.

Going to study.

It seems that all txt file go compressed.
3060
I would to scan my hard disk (or disks) for a file with certain conditions

What tool do you currently use to search for files on your system, are you using the Windows default or a third party tool such as Locate32 or Everything. If Windows, what version of Windows?

Are the "certain conditions" fairly constant or do you want to full search power of your chosen tool?

You read my little mind. I revived Locate32 last night.
I have certain problems with locate and use less.
My system is windows xp pro sp3
3061
 :-[

Miles is a little difficult for me. It's a wonderful soft package for the dos console.
Is there a soft more GUI or interactive for dummies ?

Best Regards
 :P
3062
going

Best Regards
 :P
3063
Open folder automatically when the file is found
I have to do nothing
 :P
3064
General Software Discussion / Open the corresponding folder of the found files
« Last post by Contro on July 31, 2012, 02:25 PM »
Open the corresponding folder of the found files

I would like a soft for :

Open the corresponding folder of the found files.

suppose I would like to find the file "abc.txt" in one of my hard disks.

When the file is found the corresponding folder is opened. That's the idea.

I suppose if many files are encountered may be problem with the memory or the operative system. So better is possible open in series.

Best Regards
 :-*
3065
A software for compress file and able to find them first

I try to explain. Excuse my language.
I would to scan my hard disk (or disks) for a file with certain conditions.

By example : locate the file       "abc.txt"

When find the file compress to a rar file.

That all.

But compress seperate each file found in his own folder.


By example :

y:\path1\abc.txt to y:\path1\abc.rar

y:\path1\path2\abc.txt to y:\path1\path2\abc.rar

That all I need

Best Regards


More complete more powerful.

 :-*
3066
Find And Run Robot / Re: Numerical keypad
« Last post by Contro on July 24, 2012, 08:28 AM »
Understood and applied.

Best Regards
 :-*
3067
General Software Discussion / Re: Launchy portables alternatives
« Last post by Contro on July 24, 2012, 08:22 AM »
FARR was inmediately adopted.
Thanks a lot

Best Regards
3068
Find And Run Robot / Numerical keypad
« Last post by Contro on July 24, 2012, 05:38 AM »
Windows xp pro sp3

I activate FARR
When I begin to write numbers from the numerical keyboard goes directly to the number in the list to the left.

I don't want this because I have very used folders with numbers I would like locate. This is possible with the numerical alpabhetical zone, but not in the numerical keyboard zone.

What can I do to vary this configuration ?

Best Regards
3069
General Software Discussion / Re: Launchy portables alternatives
« Last post by Contro on July 24, 2012, 04:44 AM »
Find and Fun Robot
FARR
 ;D
3070
General Software Discussion / Launchy portables alternatives
« Last post by Contro on July 24, 2012, 04:28 AM »
I am having problems with the last versions of Launchy on windows xp pro sp3

I would like alternatives to this splendid program.

Do you know anyone portable ?

Best Regards
3071
Post New Requests Here / Re: Create a file list from multiple folders
« Last post by Contro on July 07, 2012, 07:51 AM »
Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds...abid/56/Default.aspx

Dump file and directory lists to text files

Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...

The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003. Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.

Code: Text [Select]
  1. @echo Directory and sub-directory file listing dump by RenegadeMinds.com.
  2. @echo Visit http://Renegademinds.com for more Windows tips and tricks
  3. @echo and free software applications.
  4. @echo ==================================================================
  5. @echo ==================================================================
  6. @echo Save this file as getDirList.bat in your SendTo directory.
  7. @echo SendTo is under Documents and Settings in each user's directory.
  8. @echo Right-click on any directory in Windows Explorer and choose
  9. @echo Send To - getDirList.bat
  10. @echo ==================================================================
  11. @echo ==================================================================
  12. @echo Dumping directory listing to c:\dirListing.txt
  13. @echo        (This may take some time for large directory trees.)
  14. @REM the /A switch lists all hidden and system files as well.
  15. @REM the /S switch lists all subdirectories and their contents.
  16. @dir %1 /A /S > c:\dirListing.txt
  17. @echo Opening c:\dirListing.txt in Notepad (Close notepad to delete file)
  18. @notepad c:\dirListing.txt
  19. @echo Deleting c:\dirListing.txt
  20. @del c:\dirListing.txt
  21. @pause

Right-click on any directory and choose SendTo > getDirListing.bat.

Cheers,

Renegade

It goes in the "Send to" menu in your context menu.

But like I said, far less sophisticated. The only real benefit is that it is fast, easy, and you don't need to bother opening any software for it.

Renegade thanks for the application email avenger. I was looking for the application.

Best Regards
3072
Post New Requests Here / Re: Create a file list from multiple folders
« Last post by Contro on July 07, 2012, 07:23 AM »
I would like only files , not shortcuts inside subfolders
only folder and subfolders
and the file names sorted
But all the folders in several hard drives please.

 :-[
Best Regards
3073
Post New Requests Here / Re: Create a file list from multiple folders
« Last post by Contro on July 07, 2012, 07:19 AM »
Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds...abid/56/Default.aspx

Dump file and directory lists to text files

Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...

The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003. Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.

Code: Text [Select]
  1. @echo Directory and sub-directory file listing dump by RenegadeMinds.com.
  2. @echo Visit http://Renegademinds.com for more Windows tips and tricks
  3. @echo and free software applications.
  4. @echo ==================================================================
  5. @echo ==================================================================
  6. @echo Save this file as getDirList.bat in your SendTo directory.
  7. @echo SendTo is under Documents and Settings in each user's directory.
  8. @echo Right-click on any directory in Windows Explorer and choose
  9. @echo Send To - getDirList.bat
  10. @echo ==================================================================
  11. @echo ==================================================================
  12. @echo Dumping directory listing to c:\dirListing.txt
  13. @echo        (This may take some time for large directory trees.)
  14. @REM the /A switch lists all hidden and system files as well.
  15. @REM the /S switch lists all subdirectories and their contents.
  16. @dir %1 /A /S > c:\dirListing.txt
  17. @echo Opening c:\dirListing.txt in Notepad (Close notepad to delete file)
  18. @notepad c:\dirListing.txt
  19. @echo Deleting c:\dirListing.txt
  20. @del c:\dirListing.txt
  21. @pause

Right-click on any directory and choose SendTo > getDirListing.bat.

Cheers,

Renegade

It goes in the "Send to" menu in your context menu.

But like I said, far less sophisticated. The only real benefit is that it is fast, easy, and you don't need to bother opening any software for it.

I can't filter ?

I have too many hard drives and some 2 Tb.

Best Regards
3074
Post New Requests Here / Re: Create a file list from multiple folders
« Last post by Contro on July 07, 2012, 07:12 AM »
I'm not certain I understand all your requirements, but you might take a look at the late Karen Kenworthy's Directory Printer.  It's extremely flexible.  I use it frequently to create CSV files for folders/subfolders content.  It's a VB6 program, so if you're using windows, you prolly have all the necessaries already installed.

I think i have the same problem. I can't select only one folder (and its subfolders), but I don't see how to select several folders in differents hard drives.

Best Regards
3075
Post New Requests Here / Re: Create a file list from multiple folders
« Last post by Contro on July 07, 2012, 04:54 AM »
This?

http://dirhtml.home....omcast.net/~dirhtml/

I see only give the possibility to choose one folder (and his subfolders). Is it correct ?

I would in F4 the possibility to choose more than one folder.

Best Regards
Pages: prev1 ... 118 119 120 121 122 [123] 124 125 126 127 128 ... 158next