Holy Cow, I never dreamed by question would spark such a dialog! I'm late at getting back to this due to my fried laptop making my life hell. Anyway I replace the code as suggested with
set source=\\%server%\C$\Autoload\%dbname%
however still am getting a failure message. I tried pinging the computer and its active.
Thanks!
Leesha
.bat file to deploy database from server
-
- BronzeLounger
- Posts: 1496
- Joined: 05 Feb 2010, 22:25
-
- PlatinumLounger
- Posts: 5437
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Re: .bat file to deploy database from server
Hmmm, fried laptop! Yummy!
I can only think the problem is that the file doesn't have the right path.
After that "set source" above try inserting
if not exist "%source%" echo Can't access "%source%"
pause
Check that the contents of %source% are what you expect.
I can only think the problem is that the file doesn't have the right path.
After that "set source" above try inserting
if not exist "%source%" echo Can't access "%source%"
pause
Check that the contents of %source% are what you expect.
John Gray
If you are having problems with solitude, you are not alone.
If you are having problems with solitude, you are not alone.
-
- 4StarLounger
- Posts: 528
- Joined: 26 Jan 2010, 15:14
Re: .bat file to deploy database from server
Any news about the datetime routine spot of bother and how to avoid the warning message and just silently allow the creation of the log file?
-
- NewLounger
- Posts: 17
- Joined: 17 Apr 2011, 15:36
Re: .bat file to deploy database from server
I just found where everyone went!! I missed this kind of give and take. I was going through posts, and am wondering- did anyone suggest using AUTOFEUpdater? IT is great and works in all kinds of situations. (IfI am late to the party, let me know, but I am just so glad to have found everyone again- that I had to post something)
Thanks
Zave Rudman
Zave Rudman
-
- Administrator
- Posts: 78788
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: .bat file to deploy database from server
Hi Zave, welcome to Eileen's Lounge! (I did send you a hint about Eileen's Lounge last year, apparently you missed it...)
For others reading this: Auto FE Updater is a great utility by Access MVP Tony Toews. It used to be free with a request for donations, but since he got hardly any donations, Tony decided to make it a commercial product about half a year ago. You can test it for free though - after downloading and installing you have a 15 day trial period.
For others reading this: Auto FE Updater is a great utility by Access MVP Tony Toews. It used to be free with a request for donations, but since he got hardly any donations, Tony decided to make it a commercial product about half a year ago. You can test it for free though - after downloading and installing you have a 15 day trial period.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 528
- Joined: 26 Jan 2010, 15:14
Re: .bat file to deploy database from server
Welcome back with us Zave. The party's been ongoing since 2002... (I'm not sure what this smiley is doing with his hand)
-
- Administrator
- Posts: 78788
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: .bat file to deploy database from server
One hand raises a trophy, the other makes a thumbs-up gesture (at least, I hope it's not the middle finger... )grovelli wrote: (I'm not sure what this smiley is doing with his hand)
Best wishes,
Hans
Hans
-
- NewLounger
- Posts: 17
- Joined: 17 Apr 2011, 15:36
-
- Administrator
- Posts: 78788
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: .bat file to deploy database from server
The beer mug features in the "cheers" smiley and also in the "thankyou" smileyZaveR wrote:i thought it was a beer mug
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 528
- Joined: 26 Jan 2010, 15:14
Re: .bat file to deploy database from server
Yes, it was his left hand that raised my concern a bit...HansV wrote:at least, I hope it's not the middle finger...
-
- 4StarLounger
- Posts: 528
- Joined: 26 Jan 2010, 15:14
Re: .bat file to deploy database from server
By the way Hans, I was reading the Access blog this evening and there was a link to the Access forum on Microsoft Answers and I see you're there too! And you finally got the long-deserved MVP badge of honour, congratulations!!
You should put the acronym beside your name on here as well.
You should put the acronym beside your name on here as well.
-
- Administrator
- Posts: 78788
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: .bat file to deploy database from server
Hi Giorgio,
Thank you! If you look at my profile here on Eileen's Lounge, you'll see that my MVP status is mentioned there, but my username will remain HansV.
Thank you! If you look at my profile here on Eileen's Lounge, you'll see that my MVP status is mentioned there, but my username will remain HansV.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 1148
- Joined: 08 Feb 2010, 21:27
Re: .bat file to deploy database from server
well done Hans
-
- Administrator
- Posts: 78788
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands