Below is my code:
@echo off
d:
xcopy %1 C:\Import
It is saved as test.bat
When I go to the prompt code and run
test.bat \\server\a$\test$\file.xls
, it says file not found. I am able to copy from/to local locations. Any help will be appreciated. Thanks.
Start Free Trial