Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

help with batch files

Featured Replies

Ok I just went through the unattended xp install guide (which is awesome and I thank everyone that has contributed to it.) and I want to make a batch file that will copy the my documents folder and also some specific files to my server. I need you guys to point me in the right direction by answering the following questions.

1. What commands do I need to do this or please link me to a site that will show me.

2. How can I make this batch file run every say 24 hours.

3. If I can't make the batch file run every 24 hours what command do I use to repeat the copy operation every 24 hours and then how do I hide the window.

Thanks for your help.


use xcopy command, something like:

xcopy sourcefolder\*.* destinationfolder /d /e /y /v /c /r

make it into a batch file and use taskscheduler

The batch file should be somehow like this:

@echo off

cd\

cd docume~1

net use q: \\name_of_pc\share_file_name /y

xcopy *.* q:\ /s /d /y

/s -> subdirectories

/d -> only take new files

/y -> without confirmation

Time and date created...

date /t > datetime.txt

time /t >> datetime.txt

cls

type datetime.txt

pause

copy datetime.txt c:

net use q: /d

exit

Now to run every 24hours u must edit scheduler and put the batch file in it.

If u write exactly what u want to copy i can make you the batch file

If U need it for backup, use robocopy from RK...

If it is for migration, I would recommend U using User State Migration Tool from Microsoft, it is really great tool!

But it looks like roboform and mirror option will be best for U. Could U write some more informations, please?

For scheduling U should use command schtasks or GUI for creating job...

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.