topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday June 15, 2024, 7:31 pm
  • 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nkormanik [ switch to compact view ]

Pages: prev1 ... 13 14 15 16 17 [18] 19 20 21 22 23next
426
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: July 17, 2012, 10:44 PM »

NameSearch=(.+)\.png
NameReplace=\1\.jpg

Something about it seems so foreign and daunting.  For now..., glad to have you, Skwire, etc.

So the code you provided above will work for shortcuts containing the names of the files, right?

I'd think the names would be included in the total path.

As I said, hardly makes sense.



427
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: July 17, 2012, 08:56 PM »

Well, I'm running out of room on the hard disk (c:) I was using, and need to transfer my contour plot images over to (e:).....

Using Batch Shortcut Modifier, adjusting all the present shortcuts to the images now on the different drive should be a breeze.

Question:  If I should decide to convert all the .png image files to .jpg (smaller file size), what would the RegEx code be for the shortcuts modification using BSM?  In other words, if any present shortcut contains ".png", change it to ".jpg".

My present BSM.ini file is as follows:

[General]
Folder=C:\5\QQQ\shortcuts 1_x_178
PathSearch=C:\\4(.+)
PathReplace=C:\\5\1
NameSearch=(.+)
NameReplace=\1


Thanks much!



428

SyncBack Pro looks promising, 4wd.  I'm curious if you use the compression option for back-ups?  If so, do you go with the default "standard/normal" level?

Compression would seem to be a plus for saving room on the destination, if that's an issue.

Thanks for mentioning SyncBack.



429
I'm not saying that I'd want compression.  Just wondering how you folks handle such small, quick back-up needs.

Investigating Robocopy, I see it's been superseded by RichCopy.  And then there's a competing XXCopy.  Those are just a few of the command-line approaches.

430
Post New Requests Here / Back up set of folders to flash drive
« on: July 14, 2012, 12:39 AM »

Perhaps not so much a request for someone to write a program, as just a query for best advice.

I have several folders that I'd like to back up to a USB flash drive.  Before bed at night I'd like to double-click on a desktop shortcut and have the assignment performed totally and flawlessly.

One way to accomplish the task would be a batch file, with copy commands for each folder.

xcopy c:\images\*.* /c /d /q /r /s /v /y  f:\images
xcopy c:\data\*.*     /c /d /s /q /r /v /y  f:\data
etc.

No muss, no fuss.

How can this process be improved upon?

For instance, specialized software that:

-- checks for changed files, and only copies those needed?
-- archives/compresses everything to save flash drive space?
-- pops up a final window/report showing that all copied successfully?

Please share your suggestions.

Nicholas Kormanik
[email protected]


431
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: July 09, 2012, 01:57 PM »

My apologies, 4wd.  I was testing with the previous version.

Current version works perfectly.

BSM is the best Batch Shortcut Modifier on the planet.

By the way, for those following, above in this thread was mentioned the program "Shortcuts Search And Replace."  That, too, is a fine program.  HOWEVER, for large jobs in my tests 4wd's BSM is about 100X faster.

Thanks very, very much, 4wd!



432
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: July 08, 2012, 11:46 PM »

BSM enhancement request 1:

Upon successful completion of the job, small window pops up with something similar to the following, with C being the most preferred:

A)  DONE!

B)  DONE!  xxxx shortcuts processed.

C)  DONE!  xxxx shortcuts changed; yyyy shortcuts left alone.


BSM enhancement request 2:

Set up an .ini file containing the last used parameters, and re-use next time program is run.



433
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: July 08, 2012, 11:38 PM »

Fwd, something's still amiss.  Probably the RegEx...

To clarify the objective, let's pretend I'm having a conversation with your Batch Shortcut Modifier.  I say to BSM:

"Here is a big shortcuts folder full of sub-folders, and sub-sub-folders (all neatly sliced-and-diced in a tree structure, appropriately grouped and re-grouped by purpose).  Burried herein are, again, 'shortcuts' that all point to images in a huge main image folder, divided into sub-folders which hold the images.  Please recursively search through everything in the big shortcuts folder.  If you come upon a shortcut containing any target reference to 'C:\4\...,' please change it to 'C:\5\...'"

I pasted in the BSM commands as you suggested, and ran two tests:

Test #1

Folder:
C:\5\QQQ\shortcuts 1_x_178\50501\20101  (a sub-sub-folder actually containing shortcuts)

Path of target:  C:\\4(.+)  changed to  C:\\5\1

Test box checked.  Recurse box un-checked.

Results....

New shortcut:

C:\5\QQQ\shortcuts 1_x_178\50501\20101\20101 20102  (correct, same as old, unchanged)

New target:

C:\5\QQQ\images\50501\20101 20102  (does NOT appear to be correct)

Test #2

Folder:
C:\5\QQQ\shortcuts 1_x_178\  (a base folder, holding sub-folders, and sub-sub-folders)

Path of target:  C:\\4(.+)  changed to  C:\\5\1

Test box checked.  Recurse box checked.

Results....

Identical to previous test, Test #1.

=====

Following the BSM testing mode, I ran BSM in actual mode.  BSM seemed very fast and efficient.

Afterward, examining (Windows) Properties window for shortcut "20101 20102[.lnk]":

Target = "C:\5\QQQ\images\50501\20101 20102"

which is not correct; should be:

Target = "C:\5\QQQ\images\50501\_50501_20101_20102_.png"

Remember, early part of path in shortcut was originally:

Target = "C:\4\QQQ\images\50501\_50501_20101_20102_.png"

so BSM did indeed successfully change the beginning of the path, as requested.

However, the end part, targeting the .png file, is not correct.

My naive hunch is the RegEx needs to be adjusted in some way.



434
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: July 08, 2012, 03:00 AM »

4wd, as usual, I'm a bit confused....

From the Properties window for a particular shortcut, below is the present target:

C:\4\QQQ\images\50501\_50501_20101_20102_.png

I want to change the above target to:

C:\5\QQQ\images\50501\_50501_20101_20102_.png

The name of the shortcut is:

20101 20102[.lnk]

The present location of the shortcut is:

C:\5\QQQ\shortcuts 1_x_178\50501\20101\

What would the RegEx entries in BSM be to accomplish this?

(There will be thousands of such changes....)

Thanks much.


435
Finished Programs / Re: DONE: Folder Properties Auto-Update....
« on: July 05, 2012, 03:03 PM »

Excellent work, 4wd.  Been running on three computers since you created it!

Keeps me immediately appraised of the on-going progress in those subdirectories monitored.

Additionally, seems an excellent way of showing which computer -- for whatever reason -- is faster or slower.  If folders on the three computers start empty, and the running process is the same, computer most rapidly ticking up the file count is fastest.  FolMon at a glance shows that.


436
Finished Programs / Re: DONE: Are any of the files missing???
« on: June 26, 2012, 03:37 PM »

Really useful additional tools, rjbull.  Thanks for following up.


437
Finished Programs / Re: DONE: Are any of the files missing???
« on: June 26, 2012, 11:59 AM »

Thanks for working on TIOOO, 4wd.

Would be a plus for the program to give some idea it's still chugging along, especially on large comparison jobs.  In present test the progress bar has already gone from left to right, but job appears incomplete.  I'll keep letting it run for... a week.

If job completes successfully, will a text file list of the one-only files appear in the TIOOO directory?

Thanks much!

=====


Okay, list popped up in my default editor.  Worked like a charm!



438
Finished Programs / Re: DONE: Are any of the files missing???
« on: June 25, 2012, 11:22 PM »

4wd, I, for one, would appreciate the GUI front end.

But even if you don't get the chance, thanks for the script above.


439
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 25, 2012, 04:53 PM »

Goodness!  Then three to choose from.  Hope this thread comes up in Google searches for those desiring this functionality.


440
Finished Programs / Re: DONE: Are any of the files missing???
« on: June 25, 2012, 03:35 PM »

rjbull, DIR /B /S is good.  That can get us a list of files of both folders.  Then strip away path.  Once the two lists are in hand, what diff program would you use?

Carol, remember the files are buried within subdirectories.  Most such programs as you mention want all files to be one level deep, no further.


441
Finished Programs / DONE: Are any of the files missing???
« on: June 25, 2012, 11:47 AM »

Perhaps not a request for a coding snack, but possibly.

There are existing programs which probably suffice.

But I'd like advice on which you would use, given the following circumstance:

Given:

--- One complete set of 'dummy' files, held within subdirectories of a primary folder:

c:\dummy set of images\subset 1\...
c:\dummy set of images\subset 2\...
c:\dummy set of images\subset 3\...
c:\dummy set of images\subset 4\...
etc.

--- One set of actual files, but not complete..., certain ones are missing:

c:\real set of images\subset 1\... (various ones missing)
c:\real set of images\subset 2\... (various ones missing)
c:\real set of images\subset 3\... (various ones missing)
c:\real set of images\subset 4\... (various ones missing)
etc.


--- All files in "Group Dummy" have unique file names.
--- "Group Real" file names correspond to Group Dummy names.
--- If all is perfect, there should be TWO of each file in the combined lot.
--- If a file is missing (from "Group Real"), there will only be ONE of that file in the combined lot.


Task:  Find out which files are missing in "Group Real."


Thanks.

Nicholas Kormanik
[email protected]


442
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 25, 2012, 11:09 AM »

Good to go on this thread as well.  Two great solutions for modifying shortcuts.

DONE!


443
Finished Programs / Re: SOLVED: List Newest Files In Some Folder
« on: June 25, 2012, 10:53 AM »

Thanks all for suggestions, especially lanux128.  ak_'s FileDraft does exactly what I was asking for.  And really speedy.

So..., unless someone else has something to add, Skwire, you can consider this request DONE.


444
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Release: Image Grid
« on: June 24, 2012, 06:25 PM »

I also agree with JavaJones above that having the option of white borders (margins) between the images would be a plus.  Maybe a standard number, say, 30 pixels.  Or perhaps allow user to choose the actual margin width.

Thanks!


445
Finished Programs / SOLVED: List Newest Files In Some Folder
« on: June 24, 2012, 06:07 PM »

On request 4wd provided an excellent program to dynamically monitor the number and total size of files in a particular folder -- FolMon:

https://www.donation...ex.php?topic=31347.0

It's great for keeping track of a file-generating process that should be steadily adding files to the folder, to glance over and see numbers changing, getting larger.  The computer resources overhead seems negligable running FolMon.  I'll have it on two computers, one on either side of my main computer, running for months to come.

I have an additional related request now:

Double-click a desktop icon to bring up a small window showing the most recent files (created or modified, either one would do) within that folder.  Number of files = 5... would be great.

No need to go deeper than a single level -- just the folder itself.

No need to keep dynamically updating.  Periodically as desired user can double-click and see the result.  This way he/she will have a better idea where progress has gotten to in the overall job being monitored.

4wd might think to add it to his existing FolMon -- an additional little window within FolMon that shows file names of new files as they are added -- but doing so probably would add too much to overhead resource hogging.  Plus it's just a once-in-a-while request that user would likely be wanting, no continuous need.

I've noted out there lots of programmers requesting code to accomplish the task above -- in Python, C++, etc. -- but no simple little Windows program to do it.

Double-click ---> List 5 most recent files in folder XYZ.

I'd sure appreciate having this.

One can, as an alternative, use Windows Explorer in details mode, columns sorted on Modified (etc.) in descending order, then hit refresh periodically.  But..., if the folder has a really large number of files, the refresh takes a long time.  Maybe, though, most of you would suggest this route.  If so, that's what I'll do.

Nicholas Kormanik
[email protected]



446
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 24, 2012, 03:45 PM »

4wd, boy am I glad you were bored.  Appears you've created the world's ONLY Windows GUI program to alter shortcuts.  Definitely beats that other 'command line' version I found.  I haven't tested BSM (Batch Shortcut Modifier) yet, but it looks fantastic.  Thanks a million.


447
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 24, 2012, 03:32 PM »

Are you saying that you have 32,220 rules/entries in File Punter?  If so, why?

Well, at least we know that File Punter works successfully with such a large task.  Plus I still don't understand how to do those RegEx expressions.  As a side note on File Punter, by the way, seems I can leave it running and doing its thing in the background with no problem, while I search the web and work on other stuff.  File Punter doesn't hog the computer resources, and doesn't trip over itself just because I bring up some website in Chrome.  That's an enormous plus.

The RegEx you and jgpaiva provided (using ReNamer), though, did work great "getting rid of that extra junk" in file names.  That saved me a lot of work and frustration.



448
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 23, 2012, 03:15 AM »

I'll try it out, 4wd.  I appreciate your efforts.  Still have FolMon running on two computers, one to each side of me, chugging out images, so I'm monitoring the progress easily, thanks to you.

And Skwire, still creating shortcuts with File Punter on my main computer here.  One full set of 32,220 lines of commands has been running in File Punter for nearly two days.  But getting the job done.  At least I think so.

=====

Possible solution to the task at hand found:

http://networkadmink...ortcuts-utility.aspx

Place copy of all the perfect 50501 shortcuts into "shortcuts to be changed" folder.

Run from command line (or batchfile?):

>ChangeLNKs    /d=c:\shortcuts to be changed    /n=names.txt    /p=paths.txt

names.txt
50501;50502

paths.txt
50501;50502


This will create a set of shortcuts pointing to 50502 set of images.

Repeat process for rest of sets....  50503, 50504, etc.  12 sets.

I'll experiment with it more tomorrow.



449
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 23, 2012, 01:27 AM »

BSC looks like a nice little copying program good to keep on hand.  Thanks.

The structure of the shortcuts within subdirectories is different from the "Image Pool."

The motivation behind focusing on shortcuts was to avoid having to copy the image files themselves, over and over and over again, to all sorts of locations.  Better to have a zillion shortcuts, paired up in various ways, all pointing to the repository of images.  Easier to mix and match shortcuts.

Let's assume I'll create just one single "Image Pool" folder.  All images bunched together.  Over 100,000 images.

There will be 12 major groups of images within that "Image Pool" folder: 50501, 50502, 50503, etc.

Using "File Punter" I was able to create 1 of 12 sets of shortcuts to certain of those images (50501s).  So I still have 11 more sets of shortcuts to create.

If only one "Image Pool"...  Then the only part of the shortcuts which will change would be the first part of the target file name.  The path would be identical:

...path\50501_20104_21901.png.lnk  (belongs to the first set of shortcuts)
...path\50502_20104_21901.png.lnk  (belongs to the second set of shortcuts)
...path\50503_20104_21901.png.lnk  (belongs to the third set of shortcuts)
...path\etc.

I wish I could simply use the perfect set of shortcuts already created (for the 50501 set), make the ONE CHARACTER TWEAK in each filenme, and use these for the second shortcut set.  And on and on.  Through all 12 sets.

Appears not so easy to "Batch adjust shortcut targets", unfortunately.

=====

By the way, another approach different from shortcuts might be to put the filenames into a database, and have the database do the pairing, mixing, matching of files.  But, alas, I have even less experience in that area.  At least pairing up shortcuts makes sense to me.


450
Finished Programs / Re: DONE: Batch adjust shortcut targets
« on: June 22, 2012, 06:50 PM »

What about the world lacking and needing "Batch adjust shortcut targets"???


Pages: prev1 ... 13 14 15 16 17 [18] 19 20 21 22 23next