Elmer BeFuddled
Resident eejit
- Joined
- Jun 12, 2010
- Messages
- 1,048
- Reaction score
- 251
Well How?
I'm not afraid to dig deep and change system files (Hell, I re-designed my XP totally), but I'm trying to write an "automated" way of renaming files.
All i want to do is prefix a file with a tilde (~).
This is for Photoshop, a tilde (~) stops Photoshop searching/displaying the file.
Every site I've tried shows me how to add/remove dates/numbers etc. etc. but nothing related to what I want to do, or even actually explaining what a "/" or "@" or "echo" or "U taken t'dog fe 'is walk?" does.
Well, actually the last one's self explanatory, S.W.M.B.O has just spoken!!
As an example I want to re-name Dicom.8bi to ~Dicom.8bi., wherever it may be, I'll add the "Addresses", which would be fixed, not a wild card search.
That would be one of many, in different folders, 64-bit and 32-bit etc. etc. But I'm fed up of going through and manually renaming them all. When I say manually, what I mean is:- Open folder, Highlight files to be renamed, use drag'n'drop onto a Better File Rename.dpt I've made to add tilde (~) to the start.
I need some pointers, my(??) script (below) was (AHEM!!) borrowed and amended from others. It runs OK (Now? HOW?) but does nothing??? As in, the commands work, BUT, I don't know why.
I think that's my biggest niggle, if you don't know why/how/what for, how can you ever understand / advance ????
I can add/edit the full addresses as need be, it's basically the "correct re-name" function/syntax(?) I'm looking for.
THIS WORKS!!
And I'll accept any offers to help me write the scripts I want.
As for my past offerings for assistance saying I'll have your children if you help, that offer is withdrawn. Somebody, (And you know who you are!! No names etc.. etc..) dived in just a tad too fast!!!
I'm not afraid to dig deep and change system files (Hell, I re-designed my XP totally), but I'm trying to write an "automated" way of renaming files.
All i want to do is prefix a file with a tilde (~).
This is for Photoshop, a tilde (~) stops Photoshop searching/displaying the file.
Every site I've tried shows me how to add/remove dates/numbers etc. etc. but nothing related to what I want to do, or even actually explaining what a "/" or "@" or "echo" or "U taken t'dog fe 'is walk?" does.
Well, actually the last one's self explanatory, S.W.M.B.O has just spoken!!
As an example I want to re-name Dicom.8bi to ~Dicom.8bi., wherever it may be, I'll add the "Addresses", which would be fixed, not a wild card search.
That would be one of many, in different folders, 64-bit and 32-bit etc. etc. But I'm fed up of going through and manually renaming them all. When I say manually, what I mean is:- Open folder, Highlight files to be renamed, use drag'n'drop onto a Better File Rename.dpt I've made to add tilde (~) to the start.
I need some pointers, my(??) script (below) was (AHEM!!) borrowed and amended from others. It runs OK (Now? HOW?) but does nothing??? As in, the commands work, BUT, I don't know why.
I think that's my biggest niggle, if you don't know why/how/what for, how can you ever understand / advance ????
I can add/edit the full addresses as need be, it's basically the "correct re-name" function/syntax(?) I'm looking for.
THIS WORKS!!
THIS DOESN'T WORK/DOES NOTHING :bawling:@echo off
cls
set windrive=%1
echo The Adobe installed Plug-ins and Presets listed in the "Read Me" file will
echo will be pre-fixed with a tilde (~) which will disable/hide them.
echo.
echo Do you wish to continue?
set /p choice=Please press "Y" for yes or "N" for no:
if %choice%==y goto moveon
if %choice%==n goto dontmove
:moveon
THIS WORKS !! (leads on from Pt. 1)ren "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Plug-Ins\Cineon.8BI" "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Plug-Ins\~Cineon.8BI"
ren "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Plug-Ins\Dicom.8BI" "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Plug-Ins\~Dicom.8BI"ADOBE\ADOBE BRIDGE CS5\Presets\Color Books\TRUMATCH.acb" "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Presets\Color Books\~TRUMATCH.acb"
ren "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Presets\Color Books\VisiBone2.acb" "C:\PROGRAM FILES (X86)\ADOBE\ADOBE BRIDGE CS5\Presets\Color Books\~VisiBone2.acb"
Oh, And if you know of a good "Batch writing Tut" site, FFS!, don't be shy, let me know.echo .
echo .
echo Whoopy Doo!!! Won't be seeing those again unless you want to!
echo .
pause
exit /B n
:dontmove
echo .
echo The Batch File execution has been cancelled.
pause
And I'll accept any offers to help me write the scripts I want.
As for my past offerings for assistance saying I'll have your children if you help, that offer is withdrawn. Somebody, (And you know who you are!! No names etc.. etc..) dived in just a tad too fast!!!
Last edited: