Search found 23 matches
- 30 Dec 2009 18:09
- Forum: DOS Batch Forum
- Topic: Make .M3U master playlist - output as relative path names
- Replies: 28
- Views: 44531
If you want to make the batch list files from different locations (c:\Music, d:\MP3s, etc) then you can previously make a list of all these locations then use a FOR loop to repeat the action for each of them. Depending on your use you can put that list inside the same batch or create a separate file...
- 06 Sep 2009 23:57
- Forum: DOS Batch Forum
- Topic: Moving Folders within a Folder
- Replies: 2
- Views: 5037
- 06 Sep 2009 23:26
- Forum: DOS Batch Forum
- Topic: Page code 437 vs. 850
- Replies: 12
- Views: 19565
- 01 Sep 2009 21:36
- Forum: DOS Batch Forum
- Topic: Combining 2 Batch Files with a Loop
- Replies: 6
- Views: 9001
- 01 Sep 2009 20:45
- Forum: DOS Batch Forum
- Topic: Page code 437 vs. 850
- Replies: 12
- Views: 19565
Does this help you?
Or maybe your problem is the same exposed here:
Code: Select all
http://ss64.com/nt/chcp.html
Or maybe your problem is the same exposed here:
Code: Select all
http://www.geocities.com/geoff_wass/dBASE/GaryWhite/dBASE/FAQ/qcp.htm
- 01 Sep 2009 20:26
- Forum: DOS Batch Forum
- Topic: What does... RUN FILENAME in a Batch File mean ?
- Replies: 1
- Views: 4117
- 01 Sep 2009 18:33
- Forum: DOS Batch Forum
- Topic: Combining 2 Batch Files with a Loop
- Replies: 6
- Views: 9001
- 01 Sep 2009 16:04
- Forum: DOS Batch Forum
- Topic: Combining 2 Batch Files with a Loop
- Replies: 6
- Views: 9001
I'm not sure to understand what you already did but I would create a batch file named LOADER.BAT with the following code: @echo off call script1.bat call script2.bat Then make that LOADER.BAT start from a scheduled task every minute. And repeat all this per folder needed to be processed. Does it mak...
- 01 Sep 2009 15:38
- Forum: DOS Batch Forum
- Topic: Make .M3U master playlist - output as relative path names
- Replies: 28
- Views: 44531
- 31 Aug 2009 21:31
- Forum: DOS Batch Forum
- Topic: Move an exact quantity of files
- Replies: 4
- Views: 7009
- 31 Aug 2009 18:53
- Forum: DOS Batch Forum
- Topic: Move an exact quantity of files
- Replies: 4
- Views: 7009
- 30 Aug 2009 20:24
- Forum: DOS Batch Forum
- Topic: Newbie here needs help to manipulate file names
- Replies: 11
- Views: 14250
If I understood correctly you want the script to check for a 5-digit sequence at the beginning of the filename and, if only 4 digits present, add the missing digit between the fourth and fifth character (alpha here)? But how can we tell the script what digit to put? In your example the file somepic1...
- 30 Aug 2009 20:00
- Forum: DOS Batch Forum
- Topic: for /f command?
- Replies: 4
- Views: 7470
You need to use the usebackq option in the FOR loop.
Code: Select all
FOR /F "usebackq tokens=1,2,* delims= " %%i in ("%path_filename%") do ...
- 30 Aug 2009 19:55
- Forum: DOS Batch Forum
- Topic: Q on Set command format
- Replies: 1
- Views: 3945
I'm not sure why you put the excalamation (!) but this should work:
Code: Select all
set "alpha=%fname:~-1%"
- 30 Aug 2009 17:47
- Forum: DOS Batch Forum
- Topic: Make .M3U master playlist - output as relative path names
- Replies: 28
- Views: 44531