pointing to a NAS drive from a batch file in Post Command, further to #1545
Thread needs solution
I have read #1545 and tried both suggestions
here is my batch file in Post command
@echo off
title Daily Copy of violatile files from NAS1000 to DAS1000
cd "C:\Program Files\Windows Resource Kits\Tools\"
NET USE J: \\NAS1000\DAILY\
robocopy J: X:\daily /MIR /E /NFL /NDL /NS /NP /NC /NJH /NJS
if errorlevel 16 echo ***DAILY FATAL ERROR*** & goto end
if errorlevel 8 echo ***DAILY FAILED COPIES*** & goto end
if errorlevel 4 echo ***DAILY MISMATCHES*** & goto end
if errorlevel 1 echo DAILY Copy successful
if errorlevel 0 echo DAILY no change
:end
pause
the path to J is never found by my batch file unless I go to IE explorer and " wake up " the path by clicking on the drive letter J and then execute my batch file
Lun, 02/08/2010 - 18:31