The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner

Reply
 
Thread Tools Display Modes
Old 07-11-2005, 01:10 PM   #46
MGD
FLAC
MGD's CarPC Specs
 
MGD's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Vehicle: 2005 Chrysler 300
Posts: 1,280
My Photos: (0)
Quote: Originally Posted by ITL
Awesome...thanks to all of you! I've got a good little batch job going, now if I could just automate it...can get my PCs to recognize the autorun.inf on this card I've got

Make sure you have AutorunUSB running in sys tray
Check your drive letter for your USB Stick or SD Card and change it in the autorun.inf.
MGD is offline   Reply With Quote
Sponsored Links
Old 07-11-2005, 02:00 PM   #47
Constant Bitrate
 
ruairi's Avatar
 
Join Date: Jan 2005
Location: Spain
Vehicle: Seat Ibiza 100TDI 2005
Posts: 165
My Photos: (0)
I've updated the batch code to include process kill, error handling and re-starting RR on your CarPC.

I have not had a chance to bug check what happens if your CarPC runs out of disk space while importing...maybe someone has an idea! I have long forgotten my FORTRAN and BASIC programing techniques...thank god for Java and .Net!

The one thing that nags me about the script is that if you start RR (or one of the other apps) on your Test PC then it does a complete export of that apps folder. I've looked at playing with DATE /T in DOS to solve this issue but gave up! Does anyone know the files that get updated in RR once it starts, maybe we can exclude them in the XCOPY?

Maybe doing it in DOS is not a good idea and we should ask UK_MP3Car to continue!
ruairi is offline   Reply With Quote
Old 07-11-2005, 02:21 PM   #48
MGD
FLAC
MGD's CarPC Specs
 
MGD's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Vehicle: 2005 Chrysler 300
Posts: 1,280
My Photos: (0)
No files getting UPDATED when RR starts. The batch file quits RR, overwrites the files in the Road Runner directory and the starts RR again. By that time your batch file should not be running anymore. Put EXIT in the last statement of your batch file or EXIT /B
MGD is offline   Reply With Quote
Old 07-11-2005, 02:53 PM   #49
Constant Bitrate
 
ruairi's Avatar
 
Join Date: Jan 2005
Location: Spain
Vehicle: Seat Ibiza 100TDI 2005
Posts: 165
My Photos: (0)
Thanks MGD, script is now updated. Looks like you should have written it!
ruairi is offline   Reply With Quote
Old 07-11-2005, 02:58 PM   #50
MGD
FLAC
MGD's CarPC Specs
 
MGD's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Vehicle: 2005 Chrysler 300
Posts: 1,280
My Photos: (0)
Cool

Just pad yourself on the back, you did all the work. Glad to see that your batch works now.
MGD is offline   Reply With Quote
Sponsored Links
Old 08-10-2005, 11:01 AM   #51
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Vehicle: Mazda6
Posts: 611
My Photos: (0)
Hey Guys.

How can I exclude a directory (like the "skins" directory in RR) from being copied to the usb device
I tried the exclude option but cannot get it to work.
Any help would be deeply appreciated

Thanks
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 08-11-2005, 08:40 AM   #52
Constant Bitrate
 
ruairi's Avatar
 
Join Date: Jan 2005
Location: Spain
Vehicle: Seat Ibiza 100TDI 2005
Posts: 165
My Photos: (0)
tolisn:
Add this to the line that copies the Road Runner folder to the USB drive: /EXCLUDE:\skins\ that should stop the XCOPY going into ANY folder called skins.

So the line should look something like:
xcopy "C:\Program Files\Road Runner\*" "car\RoadRunner\*" /S /D /K /I /Y /EXCLUDE:\skins\

You may want to change the RR line on your CarPC so it also ignores the skins folder if it is on the USB drive:

xcopy "car\RoadRunner\*" "C:\Program Files\Road Runner\*" /S /D /K /I /Y /EXCLUDE:.ini+\skins\
ruairi is offline   Reply With Quote
Old 08-11-2005, 10:30 AM   #53
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Vehicle: Mazda6
Posts: 611
My Photos: (0)
OK thanks
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 08-21-2005, 03:48 PM   #54
Raw Wave
 
edrex's Avatar
 
Join Date: Dec 2004
Location: West Chestinghamshire, UK init!!
Vehicle: 2005 Nissan Altima Status: Eaten by Cannibals Ranking: Mr. 20,000!!
Posts: 1,943
My Photos: (0)
Hi all.
I'm trying to get this working on my PC. I am running into a couple problems with the batch file and I don't know much about how they work. I've tried troubleshooting and changing things around but still can't get it going like it should.
First problem: Taskkill is not recognized. It pops up errors for the lines saying it doesn't know that command. I got it to keep going once and it went through the RR update.

Second problem: Keeps saying it can't find the batch label specified. I think this has to do with the Music transfers since the RR update did work one time (but not since then). I would like to be able to add a folder of music to the usb drive, and then when I transfer it, have the autorun take all folders in the Music directory on the USB drive and put them in the Music directory on the carPC. What should the Xcopy line look like for that?

Third Problem: Every time I insert the usb drive on the carpc, Autorun starts and Windows pops up a message asking what I would like to do with the files (ie: Play them in Win Media Player, Open them in Windows Explorer, etc., or Take No Action). I have to hit cancel every time, even if I hit Take No Action it will still pop up next time. Anyone know a way to get around this and make it stop happening?

Thanks for any help you guys can give me!!
Cheers.

EDIT: Forgot to mention this before, but doesn't RR only update with like 3-4 files? Is it really necessary to copy the whole directory?
Thanks.
Attached Images
 
__________________
Spent so far: $1,755
Check Out My Work Log for Specs/Pics
CarPC Progress[!!!!!!!!!!!!!!].....Installation[---------+].....Pastrami Progress[!!!!!!!!!!!!!!]
Quote:
Don't mess with Texas.
It's not nice to pick on retards!


Last edited by edrex : 08-21-2005 at 03:56 PM.
edrex is offline   Reply With Quote
Old 08-24-2005, 03:55 PM   #55
Raw Wave
 
edrex's Avatar
 
Join Date: Dec 2004
Location: West Chestinghamshire, UK init!!
Vehicle: 2005 Nissan Altima Status: Eaten by Cannibals Ranking: Mr. 20,000!!
Posts: 1,943
My Photos: (0)
If anyone is using the AutoRunUSB program, I got a couple batch files that are working well.
I have 2 different files, one is autorun.bat (launched when the drives is in my home PC) and autoruncar.bat (launched when in the car). I did this because my computers were having a hard time with the goto Carpc command and it was an easy fix to make 2 files.
I added a delete command in the autoruncar.bat so that after files had transferred it would then empty the media folders (just music and movies, not the RR files) so that next time I needed to transfer files the drive was "unloaded" and ready.

Here they are:
autorun.bat:
Code:
ECHO OFF REM Road Runner xcopy "C:\Program Files\Road Runner\*.*" "G:\car\Road Runner\*.*" /S /D /K /I /Y if errorlevel 4 goto lowmemory if errorlevel 2 goto abort REM Music/Movies Transfer xcopy "C:\My Music\To Transfer\*.*" "G:\*.*" /S /D /K /I /Y if errorlevel 4 goto lowmemory if errorlevel 2 goto abort ECHO . ECHO . ECHO USB Drive is now ready to sync with CarPC!!! ECHO . goto Finish REM ----------------------- REM WHEN THINGS GO WRONG!!! :lowmemory echo Insufficient memory to copy files or echo invalid drive or command-line syntax. goto exit :abort echo You pressed CTRL+C to end the copy operation. REM ----------------------- :Finish ECHO Finished!!! ECHO . ECHO . PAUSE exit

autoruncar.bat:
Code:
ECHO OFF REM RoadRunner Folder xcopy "D:\car\Road Runner\*.*" "C:\Program Files\Road Runner\*.*" /S /D /K /I /Y if errorlevel 4 goto lowmemory if errorlevel 2 goto abort REM Music Folder (Hide display while copying) xcopy "D:\music\*.*" "C:\Music\*.*" /S /D /K /I /Y if errorlevel 4 goto lowmemory if errorlevel 2 goto abort REM Movies Folder (Hide display while copying) xcopy "D:\movies\*.*" "C:\movies\*.*" /S /D /K /I /Y if errorlevel 4 goto lowmemory if errorlevel 2 goto abort REM Delete Transferred Media del D:\movies\*.* /Q /S del D:\music\*.* /Q /S ECHO . ECHO . ECHO CarPC is up-to-date!!! ECHO . "C:\Program Files\Road Runner\RR.exe" goto Finish REM ----------------------- REM WHEN THINGS GO WRONG!!! :lowmemory echo Insufficient memory to copy files or echo invalid drive or command-line syntax. goto exit :abort echo You pressed CTRL+C to end the copy operation. REM ----------------------- :Finish ECHO Finished!!! ECHO . ECHO . exit

MY PROBLEM:
The original bat file that Ruari made had TASKKILL commands that would exit the apps being updated (in my case I only need RR closed when I use the carPC). He has XP Pro and I have Home. My XP does not recognize TASKKILL as a command and is not able to close the apps.
Does anyone know of other commands to use instead that XP Home edition will recognize? Or a list of commands that I can go through and find one that works?
Thanks.
ed.
__________________
Spent so far: $1,755
Check Out My Work Log for Specs/Pics
CarPC Progress[!!!!!!!!!!!!!!].....Installation[---------+].....Pastrami Progress[!!!!!!!!!!!!!!]
Quote:
Don't mess with Texas.
It's not nice to pick on retards!

edrex is offline   Reply With Quote
Old 08-25-2005, 02:48 AM   #56
Newbie
 
Join Date: Aug 2004
Location: Sydney
Vehicle: 1994 Toyota Celica
Posts: 3
My Photos: (0)
Aparently tskill is available on XP home. give that a try. I cannot confirm though as i have pro on all my XP machines.

Jas

Quote: Originally Posted by edrex
MY PROBLEM:
The original bat file that Ruari made had TASKKILL commands that would exit the apps being updated (in my case I only need RR closed when I use the carPC). He has XP Pro and I have Home. My XP does not recognize TASKKILL as a command and is not able to close the apps.
Does anyone know of other commands to use instead that XP Home edition will recognize? Or a list of commands that I can go through and find one that works?
Thanks.
ed.

__________________
---
1994 Toyota Celica
Epia M-9000, Lilliput 7" LCD, Road Runner/Map Monkey
neo_in_aus is offline   Reply With Quote
Old 08-25-2005, 12:28 PM   #57
Raw Wave
 
edrex's Avatar
 
Join Date: Dec 2004
Location: West Chestinghamshire, UK init!!
Vehicle: 2005 Nissan Altima Status: Eaten by Cannibals Ranking: Mr. 20,000!!
Posts: 1,943
My Photos: (0)
Quote: Originally Posted by neo_in_aus
Aparently tskill is available on XP home.

Used tskill /? on a cmd prompt and it came up with a list of switches. Thanks!! I'll try to use that to get the programs closed.
Cheers.
__________________
Spent so far: $1,755
Check Out My Work Log for Specs/Pics
CarPC Progress[!!!!!!!!!!!!!!].....Installation[---------+].....Pastrami Progress[!!!!!!!!!!!!!!]
Quote:
Don't mess with Texas.
It's not nice to pick on retards!

edrex is offline   Reply With Quote
Old 09-05-2005, 04:10 PM   #58
Registered User
 
aoLhaTer's Avatar
 
Join Date: Mar 2003
Location: Rohnert Park, CA
Vehicle: 04 Infiniti G35 Coupe
Posts: 1,122
My Photos: (0)
Would this program work with something other than RoadRunner? (such as Centrafuse)





edit:
Read through the thread and see that people have favored using the posted batch file
My problem with batch files is that the music copy process isnt advanced enough. I need a copy method that will somehow know what files Ive already transferred to the carputer then only copy new files since the last transfer.
xcopy can only do it by a static date and robocopy is a little better and can do it by X days old but neither are good enough
__________________
2004 G35 Coupe project

Last edited by aoLhaTer : 09-05-2005 at 04:55 PM.
aoLhaTer is offline   Reply With Quote
Old 09-05-2005, 09:21 PM   #59
MGD
FLAC
MGD's CarPC Specs
 
MGD's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Vehicle: 2005 Chrysler 300
Posts: 1,280
My Photos: (0)
This program works with any program any folder, hell you can even format your harddrive with it.
MGD is offline   Reply With Quote
Old 10-04-2005, 02:29 PM   #60
FLAC
Custommx3's CarPC Specs
 
Custommx3's Avatar
 
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,169
My Photos: (7)
Anyone thought of using IOMEGAs activedisk ?

http://www.iomega-activedisk.com/


there is a developer SDK.
__________________
2007 Mazdaspeed 6
Custommx3 is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB IR stick to COM port?? vxcarpc Input Devices 17 03-20-2008 06:31 PM
Software Review: Windows XP Media Center 2005 Edition! nFiniteTuning The Review Palace 180 05-01-2007 11:54 AM
Problem with ITPS / hibernation and External USB HD veetid Power Supplies 5 01-02-2006 08:35 PM
Aver Media USB Radio. Anybody tried it out? DrkStormTrooper General Hardware Discussion 3 12-28-2004 03:59 AM
Booting with USB memory stick Fluffy General MP3Car Discussion 12 10-01-2003 05:47 PM


All times are GMT -5. The time now is 04:57 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics