Search found 4 matches
- 08 Feb 2011 13:14
- Forum: DOS Batch Forum
- Topic: rename leading with random number. then re-randomize later.
- Replies: 2
- Views: 3532
Re: rename leading with random number. then re-randomize lat
well i posted cause i didn't think i'd be able to figure it out but I got this so far and i think its solid. can anyone see any problems? @echo off SETLOCAL EnableDelayedExpansion for /f "tokens=* delims=" %%a in ('dir /b *.mp3') do ( set string=%%a set check1=!string:~0,2! if !check1! lss...
- 08 Feb 2011 12:49
- Forum: DOS Batch Forum
- Topic: rename leading with random number. then re-randomize later.
- Replies: 2
- Views: 3532
rename leading with random number. then re-randomize later.
So i have this so far. SETLOCAL EnableDelayedExpansion for /f "tokens=* delims=" %%a in ('dir /b *.mp3') do ren "!random:~-2! %%a" it seams to work well. but, I'd like to be able to re-run it and have it re-randomized the files already randomized and include any new files I've pu...
- 03 Feb 2011 18:17
- Forum: DOS Batch Forum
- Topic: move file to a shared folder in windows 7
- Replies: 3
- Views: 4754
Re: move file to a shared folder in windows 7
found a solution I like. Used Robocopy to copy security info. not sure if this is the technically correct approach but it works. my batch looks like this: ...some name cleanup stuff... move "E:\Downloads\%movie%" "E:\my movies\" robocopy "E:\my movies" "E:\my movie...
- 30 Jan 2011 14:01
- Forum: DOS Batch Forum
- Topic: move file to a shared folder in windows 7
- Replies: 3
- Views: 4754
move file to a shared folder in windows 7
So I made a batch file that cleans up the file name of a video and then moves it from my download folder to a folder that is being shared to the rest of my network. The problem I'm having is that once it moves, it isn't shared like the rest of the files in that folder. So I need to know if there is ...