Auto Update command line problem

Discussion to talk about software related topics only.
Post Reply
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Auto Update command line problem

Post by seulater »

NB, i have used autoupdate.exe command line option for a long time now.
This week the folder structure at work has changed. We now have a folder with a space in it which holds our files.
I.E. C:\Server NBMirror

I cannot have them change it to C:\Server_NBMirror

SOoo... with the addition of this space in the folder name, it breaks the autoupdate command line feature. When there is a space in the location of the .s19 file it needs to get it fails.

Can you guys fix this problem ?
Last edited by seulater on Sat Feb 06, 2010 4:33 am, edited 2 times in total.
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Auto Update command line problem

Post by tod »

If you're allowed to share the directory you can Map a network drive to it.
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Auto Update command line problem

Post by seulater »

True, but there is something that i was not totally honest about :oops:
Th company has started using Dropbox. http://www.dropbox.com/
It creates a folder on your computer named "My Dropbox". You can place this folder anywhere on your computer, but you cannot change the name of it. Since this folder name has a space in it, i cannot use the autoupdate.exe via the command line.
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Auto Update command line problem

Post by tod »

It would be nice to be rid of this no whitespace limitation but in the meantime use the old 8.3 naming convention. In your case (assuming you only have one directory starting with "My Drop" or "MyDrop") use MYDROP~1 like this
:geek:

Code: Select all

c:> autoupdate -FC:\MYDROP~1\FactoryDemo_APP.s19 -A
The other suggestion is to use Microsoft's LiveSync instead of DropBox. It too is free but it allows you to share many existing folders with your own names between any number of Macs and PCs. It does not support the iPhone (AFAIK) and it doesn't keep a copy on the web. I blogged about it here
http://syncor.blogspot.com/2009/10/live ... orial.html
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Auto Update command line problem

Post by seulater »

HEY THANKS!!! on two counts, for helping with the command line and secondly letting me know about that Live Sync. I didn't even know about it. Perfect timing, i was going to purchase a drop box account this weekend. Now i dont need to. :D
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Auto Update command line problem

Post by tod »

You're welcome. I love LiveSync and think every developer with more than one computer should have it. Since I own Macs as well, it's great being able to get to source code from my Mac at home.

One caveat: I have noticed that LiveSync gets a little confused with an Eclipse clean build sometimes. I think the object files being deleted and then reappearing right away will sometimes cause it to prompt you about what you want to do. I always pick the "keep my file" option. Sometimes it will do it on three or four object files in a row.
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Auto Update command line problem

Post by seulater »

I gave WLS a try and i quickly fell in love with it, then...After my sync'ed folder file had transferred up to the other sync'ed computer, in the activity window keept flashing file pending, with the direction of sending and status of listening over and over again. i have shut down and restarted both computers several times but it keeps doing this. when i delete or add files it does what its supposed to do, then it goes right back to flashing this again.

So, i went back to Drop Box. WLS, is slick and maybe one day i will give it a whirl again.
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Auto Update command line problem

Post by tod »

Are you saying you open up the Activity window from the icon. Then in the bottom half of that window it constantly shows activity even when you are done changing files?

I've never seen that. I wonder if you have some other backup process or something that monitors changed files and it is getting in some kind of loop with Live Sync. OH well, sorry it didn't work out for you. :cry:
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Auto Update command line problem

Post by seulater »

Are you saying you open up the Activity window from the icon. Then in the bottom half of that window it constantly shows activity even when you are done changing files?
ya, it blinks a line for a second then disappears then does it again and keeps doing this.

its too bad too because i really liked it, i am surprised more people dont know about it.
Post Reply