Results 1 to 7 of 7
Hybrid View
-
19th Jan 2011, 01:58 AM #1Respected Member
if that programs creates a new folder each time use this code:
Code:@echo OFF set mydir="%~p0" SET mydir=%mydir:\=;% for /F "tokens=* delims=;" %%i IN (%mydir%) DO call :LAST_FOLDER %%i goto :EOF :LAST_FOLDER if "%1"=="" ( @echo %LAST% goto :REN_FILES ) set LAST=%1 SHIFT goto :LAST_FOLDER :REN_FILES ren *.mp4 %LAST%.* ren *.wmv %LAST%.*
Lock Down Reviewed by Lock Down on . Batch script help First of all i am 100% noob for batch script... I am using Sabnzbd for downloading from usenet and in that prog i have option to run .bat script after download... Now i need simple .bat script which will rename .wmv or .mp4 file in folder to the same name as download folder... Can anyone help me? Thanks in advance... Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Hiring] Somenone to code simple batch script
By STiNKY in forum Completed TransactionsReplies: 0Last Post: 8th May 2011, 12:42 PM -
need help with some batch script
By techdaemon in forum Technical Help Desk SupportReplies: 0Last Post: 29th Mar 2011, 02:58 AM -
some batch help ?
By Porsche_maniak in forum Web Development AreaReplies: 7Last Post: 22nd Dec 2010, 09:42 PM -
[BATCH] Game!
By l0calh0st in forum Web Development AreaReplies: 2Last Post: 18th Sep 2010, 04:58 PM -
[BATCH] Firewall - Allow/Deny Script
By l0calh0st in forum Web Development AreaReplies: 0Last Post: 31st Jul 2010, 04:16 PM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...