|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Mar 2006
Location: Cincinnati Ohio
Posts: 161
|
Hello all! I'm writing a batch file now and I'm having some trouble with it.
mp3info -p "%t" "C:\Documents and Settings\Andrew\My Documents\song.mp3" > t.txt If I put this in the command line it does exactly what I need, but in a batch file the output file is blank. If I put it in the batch file without the -p "%t" part, it works fine. Any ideas? Thanks!
__________________
First Build: Pentium D 805, Asus P5P-800VM, 1GB DDR-400 Dual Channel, LG 16x DVD Burner, 400GB SATA HDD, Antec Earthwatts 400W PSU, ATI Radeon 9550 256mb Second Build: Core 2 Duo e4300, Asus P5L-VM 1394, 2GB Corsair DDR2-667 Dual Channel, Lite On 16x DVD Burner, 160GB SATA HDD, Xclio 450W PSU, Nvidia GeForce 8400GS 512mb |
|
|
|
|
|
#2 |
|
Member (5 bit)
Join Date: Jan 2009
Location: Southern California
Posts: 17
|
Call
Try changing your batch file to this:
CALL "C:\Program Files\whatever\mp3info.exe" -p "%t" "C:\Documents and Settings\Andrew\My Documents\song.mp3" > t.txt Make sure you have the full path to mp3info.exe in there and don't just copy/paste what I put. Also, make sure the full path to mp3info.exe is in quotes as I have it. |
|
|
|
|
|
#3 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
In a batch file you have to escape the '%' sign. Try this:
Code:
mp3info -p "%%t" "C:\Documents and Settings\Andrew\My Documents\song.mp3" > t.txt |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|