Search found 37 matches

by Andrius
26 Jan 2015 17:26
Forum: DOS Batch Forum
Topic: Monitor a folder for file changes. If changed then run bat
Replies: 10
Views: 18222

Re: Monitor a folder for file changes. If changed then run

Thanks for the tip Squashman. Ive spoken to my management about this application but was told not to concern myself with such matters. So whatever I go with has to be made by myself Ill definitly look into this app though for home / personal use! Hopefully a bat file isnt too difficult for this task...
by Andrius
26 Jan 2015 17:07
Forum: DOS Batch Forum
Topic: Monitor a folder for file changes. If changed then run bat
Replies: 10
Views: 18222

Monitor a folder for file changes. If changed then run bat

Hey everyone, Id like to monitor a folder and all of it's sub folders. If a file is added or modified within this folder structure then run another bat file I already have written. Example: Monitor c:\art_assets if anything changes within this folder or any of it's sub folders then run "build_a...
by Andrius
13 Jan 2013 21:07
Forum: DOS Batch Forum
Topic: [SOLVED] bat file to monitor folder contents
Replies: 4
Views: 10392

Re: bat file to monitor folder contents

Works like a hot damn! I will share this little tidbit with the photography community! Thank you!!!!!!!!!!!!
by Andrius
13 Jan 2013 21:00
Forum: DOS Batch Forum
Topic: [SOLVED] bat file to monitor folder contents
Replies: 4
Views: 10392

Re: bat file to monitor folder contents

testing now. Thank you so much for taking the time to help me BTW
by Andrius
13 Jan 2013 19:54
Forum: DOS Batch Forum
Topic: [SOLVED] bat file to monitor folder contents
Replies: 4
Views: 10392

[SOLVED] bat file to monitor folder contents

Ive tried apps like Total Folder Monitor to do these things for me but each one has its issues or faults or just doesnt work so Ive resorted to bat files and hope I can find an answer here. Requested Outcome: New jpg is added to folder via dropbox bat file realizes new item is there bat file runs a ...
by Andrius
16 Aug 2012 17:06
Forum: DOS Batch Forum
Topic: [SOLVED] - 3 Scripts to save me days of work (again)
Replies: 10
Views: 6600

Re: [SOLVED] - 3 Scripts to save me days of work (again)

Pretty sure if you searched the forums you would have found your solutions. We did Script 2 just a few weeks ago. Pretty sure we did script 1 not to long ago as well. And well you could always make an attempt at writing them yourself and actually learning how to do it instead of someone always givi...
by Andrius
16 Aug 2012 17:04
Forum: DOS Batch Forum
Topic: [SOLVED] - 3 Scripts to save me days of work (again)
Replies: 10
Views: 6600

Re: [SOLVED] - 3 Scripts to save me days of work (again)

abc0502 wrote:All Files up


Thank you soooo much abc!
by Andrius
16 Aug 2012 15:39
Forum: DOS Batch Forum
Topic: [SOLVED] - 3 Scripts to save me days of work (again)
Replies: 10
Views: 6600

Re: [Request] - 3 Scripts to save me days of work (again)

Script 1 @Echo off CLS For /F "tokens=*" %%A in ('Dir /B /S /A:D *.*') Do ( IF "%%~nA" == "source" RMDIR /S /Q "%%A" IF "%%~nA" == "animation" RMDIR /S /Q "%%A" IF "%%~nA" == "export" RMDIR /S /Q "%%A&quo...
by Andrius
16 Aug 2012 15:31
Forum: DOS Batch Forum
Topic: [SOLVED] - 3 Scripts to save me days of work (again)
Replies: 10
Views: 6600

Re: [Request] - 3 Scripts to save me days of work (again)

abc0502 wrote:in script2 remove space as delete or replace with _


remove spaces. In our engine we use _ to seperate categories in a way (hard to explain) but basically just looking to remove spaces with this one
by Andrius
16 Aug 2012 15:17
Forum: DOS Batch Forum
Topic: [SOLVED] - 3 Scripts to save me days of work (again)
Replies: 10
Views: 6600

[SOLVED] - 3 Scripts to save me days of work (again)

Script 1: I need a script to be placed in master folder and when run the script will drill through every folder within the master seeking out folders with the names "source" "animation" and "export" and delete these folders and anything within these folders yet leave a...
by Andrius
26 Jul 2012 16:53
Forum: DOS Batch Forum
Topic: Simple rename loop?
Replies: 2
Views: 2543

Re: Simple rename loop?

Squashman wrote:Here is your fish.

Code: Select all

@echo off
FOR /F "delims=" %%G in ('dir /ad /b /s ^|findstr /E /I /C:"wrongfolder"') do rename "%%~G" "RightFolder"


Thanks for teh fish
by Andrius
26 Jul 2012 16:36
Forum: DOS Batch Forum
Topic: Simple rename loop?
Replies: 2
Views: 2543

Simple rename loop?

Could someone hook me up with a script that will go through a folder substructure and rename a specific folder and continue through until there are no other folders to process? Basically search for folder "a" and rename to "b" Example of what i need done BEFORE: c:\Root_Folder\sc...
by Andrius
26 Jul 2012 15:01
Forum: DOS Batch Forum
Topic: A few script requests within 1 post [SOLVED]
Replies: 27
Views: 12903

Re: A few script requests within 1 post (So I don't spam)

Fourth script also works like a dream!
by Andrius
26 Jul 2012 12:57
Forum: DOS Batch Forum
Topic: A few script requests within 1 post [SOLVED]
Replies: 27
Views: 12903

Re: A few script requests within 1 post (So I don't spam)

Works. I must have missed something in my copy perhaps. Sorry about any confusion. Works great!
by Andrius
26 Jul 2012 12:35
Forum: DOS Batch Forum
Topic: A few script requests within 1 post [SOLVED]
Replies: 27
Views: 12903

Re: A few script requests within 1 post (So I don't spam)

Receiving the same error. My structure that is being tested is this: c:\Test\Script2.bat c:\Test\Folder_1 c:\Test\Folder_1\Subfolder_1 c:\Test\Folder_1\Subfolder_1\test$'.txt c:\Test\Folder_&2\Subfolder_1 c:\Test\Folder_&2\Subfolder_1\test&'.txt ERROR: The system cannot find the file spe...