Start a new topic
Answered

Scheduled task - mapped drive

I'm doing a trial version of this and have problem with syntax as to how the bat file should be written.  


I have a Visual Cut report that will be saved to the c drive and I need it copied to the w drive which is the webdrive mapped drive for google drive.  I need this to run every 15 mins whether I am logged in or not.


The first step is to run the program which gets saved to c drive - this works correctly.


"C:\Program Files (x86)\Visual CUT 11\Visual CUT.exe" -e "C:\BAT Files\RDA BAT Files\Daily Volume Report\test.rpt" "Parm1:TODAY_MINUS_1" "Parm2:TODAY_MINUS_1"


This is what I found online and having trouble with in order to map the drive, copy the file, etc.


ECHO "Running FTP batch file!" start /wait /D"c:\program files\webdrive" webdrive.exe /s:"Microsoft" copy c:\test.pdf w:\ start /wait /D"c:\program files\webdrive" webdrive.exe w: /d

 

 



Best Answer

Hi Lori,


For this script, you'd need to ensure a few things: 


1. The local C:\ location points to the location of the webdrive.exe application. The location you have is the default, but it may be elsewhere.


2. Microsoft is the name of the site in WebDrive that you are attempting to map. After the /s: should be the sitename (as named in WebDrive when creating the site) in quotes


3. A file named test.pdf must be located in the root of the C:\ in order to be copied


4. The site that is named Microsoft must be set to be mapped using the W drive letter. Otherwise, change out the assigned drive letter for W: in each location (Site Properties --> General Host Settings will list the drive letter for most connections - this menu item may have a different name depending on the protocol you are using to connect).


5. The user must have permissions to access and write to the root of the W:\ location being connected to.


If you are still having trouble, please submit a support ticket for further assistance.

1 Comment

Answer

Hi Lori,


For this script, you'd need to ensure a few things: 


1. The local C:\ location points to the location of the webdrive.exe application. The location you have is the default, but it may be elsewhere.


2. Microsoft is the name of the site in WebDrive that you are attempting to map. After the /s: should be the sitename (as named in WebDrive when creating the site) in quotes


3. A file named test.pdf must be located in the root of the C:\ in order to be copied


4. The site that is named Microsoft must be set to be mapped using the W drive letter. Otherwise, change out the assigned drive letter for W: in each location (Site Properties --> General Host Settings will list the drive letter for most connections - this menu item may have a different name depending on the protocol you are using to connect).


5. The user must have permissions to access and write to the root of the W:\ location being connected to.


If you are still having trouble, please submit a support ticket for further assistance.

Login or Signup to post a comment
© 2016 South River Technologies®, Inc. - All Rights Reserved