Re: mySQL probs.
- From: Pete Fisher <Peter@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Mar 2009 23:58:17 +0000
In communiqué <kupl+8LpSGsJJAxC@xxxxxxxxxxxxxxxxxxxxxxxx>, Wicked Uncle Nigel <wun@xxxxxxxxxxxxxxxxxxxxxxxx> cast forth these pearls of wisdom
Using the patented Mavis Beacon "Hunt&Peck" Technique, Pete Fisher <Peter@xxxxxxxxxxxxxxxxxxxxx> typedIn communiqué <a+Nq6JJ4BGsJJAWa@xxxxxxxxxxxxxxxxxxxxxxxx>, Wicked Uncle Nigel <wun@xxxxxxxxxxxxxxxxxxxxxxxx> cast forth these pearls of wisdomUsing the patented Mavis Beacon "Hunt&Peck" Technique, Pete Fisher <Peter@xxxxxxxxxxxxxxxxxxxxx> typedMy immediate thought was to just stick a
MOVE J:\putthemhere\*.xml C:\somewhere
in at the start of this batch file, then I realised the next command
would be executed before the move had succeeded and constructed a
separate batch file just to do the file moving and a CALL to it at the
start of the original one.
Ugly "solution".
Stick a "ping -n 5 127.0.0.1" after the move.
You'll get a five second delay (use a bigger number if you need more time).
Worth a try, though Antonye suggests it shouldn't really be required.
Also remember that (IIRC) the MOVE will fail if the target file already exists.
I did wonder about that, but I even put a PAUSE in to echo the errorlevel before proceeding. It seems to work OK invoked directly (the file moving at least if the targets don't already exist) but not when initiated by the Application external command. Weird. I'm probably missing something really obvious like that though.
We sometimes hit an oddity with some software I work with, in that it uses a "virtual desktop", the upshot is that mapped drives aren't necessarily mapped on the virtual desktop (I've never really dug into this, so I can't remember the exact details). Maybe you're hitting something similar?
Very possibly. A very peculiar (to me at least) set up. A local Q: drive you can't access. A 'scratch' drive with no obvious drive letter. Not allowed to create desktop shortcuts and lots of references to Local and Roaming in the OS drive tree. For example the temp environment variable returns a path four directories long.
Apart from the standard Office suite most other applications are 'packaged' and distributed by something called 'Softgrid'. As this "connector" program has only to run on four machines out of 60 or so they haven't 'packaged' it, and I seriously doubt that they could.
A "dir j: > c:\somefile.txt" in the batch might be instructive?
Could well be.
--
+----------------------------------------------------------------+
| Pete Fisher at Home: Peter@xxxxxxxxxxxxxxxxxxxxx |
| Voxan Roadster Gilera Nordwest * 2 Yamaha WR250Z |
| Gilera GFR * 2 Moto Morini 2C/375 Morini 350 "Forgotten Error" |
+----------------------------------------------------------------+
.
- References:
- Re: mySQL probs.
- From: antonye
- Re: mySQL probs.
- From: Pete Fisher
- Re: mySQL probs.
- From: antonye
- Re: mySQL probs.
- From: Pete Fisher
- Re: mySQL probs.
- From: Wicked Uncle Nigel
- Re: mySQL probs.
- From: Pete Fisher
- Re: mySQL probs.
- From: Wicked Uncle Nigel
- Re: mySQL probs.
- Prev by Date: Re: Totally OT: Ryanair
- Next by Date: Re: We haven't had a pointless numbers thread for a while.
- Previous by thread: Re: mySQL probs.
- Next by thread: Re: mySQL probs.
- Index(es):
Relevant Pages
|