Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.dcom.vpn    |    VPN protocols, clients, awesomeness    |    2,349 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 634 of 2,349    |
|    Karl Burrows to All    |
|    XCOPY Script to Copy File to Network Con    |
|    29 Dec 03 00:54:10    |
      XPost: microsoft.public.scripting.remote, microsoft.public.win2000.general,       microsoft.public.win2000.ras_routing       From: kfb1@spambellsouth.net              Hi!              I am trying to write a script (newbie!!) to copy a text file from a remote       computer to our home office server through a VPN connection. Instead of       mapping the drive on the remote computer (to avoid accidental       disconnection), I setup a Network Place for the VPN folder.              All remote computers run Win2000 and server is Win2000 Server.              Here is what I have so far, but can't get the script to execute. Any       suggestions would be greatly appreciated!              @ECHO OFF       ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *       ECHO * This will copy the MWS Payroll Data to the Home Office *       ECHO * Make sure you have saved your current Payroll data *       ECHO * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *       ECHO.       ECHO Press CTRL-C to abort       ECHO or       PAUSE                     XCOPY C:\Documents and Settings\Remote User\Desktop\Test.txt \\Server\Copy       Folder /f /v /z              if errorlevel 4 goto lowmemory       if errorlevel 2 goto abort       if errorlevel 0 goto exit              :lowmemory       echo Insufficient memory to copy files or       echo invalid drive or command-line syntax.       goto exit              :abort       echo You pressed CTRL+C to end the copy operation.       goto exit              :exit                     --       Remove 'spam' from email address to contact me directly              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca