Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Batch file
Mark Desens 
      
2 years ago
Hi Richard and guys. I watched your video on how to use a batch file to restart my database. Got me to look for copying also. I found a xcopy formula to copy my front end from a folder. It's as follows.
Xcopy 'c:\users\public\split\frontend' 'c:\users\pubilc\user\' /c /e /y
This is to copy my front end file to my user folder. This is to copy what's in the folder, not the file itself. I tried putting the file name after frontend but it didn't copy. What needs to change to copy the file.
Kevin Robertson  @Reply  
          
2 years ago
You need to specify the file you want to copy:

    xcopy "c:\users\public\split\frontend\mydatabase.accdb "c:\users\public\user\" /c /y

Also you have a typo in the destination folder: c:\users\pubilc\user\
pubilc should be public.
Mark Desens OP  @Reply  
      
2 years ago
Ok thanks, I'll try that after work.
Mark Desens OP  @Reply  
      
2 years ago
Hi, I did try it and at times it did and did not work. So I'll stick with the first way. I did the copy with the code I wrote above, and everything works but when I opened it. It said it's opening in safe mode. Then when I tried to close it the login closed down but the who window was flickering as I tried tox out of it. like it was resetting itself. it was flickering. it wasn't closing down. I had to go to task manager to close it out. Any suggestions.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/8/2026 6:32:26 AM. PLT: 0s