All, please note the following code:
REM That if a certain command does not work put in ... pause
which will pause after the command is run...
xcopy "C:\Program Files\Autodesk\Revit 2014\PlugIns\SMW\%SourceDB%" "\\NY-APP\Software Development\Transfer\REVIT" /d /y
I am trying to take the name of the batch file (0%) and use that in a variable (Extension) to copy from a local folder to a network folder. But when I review what's it is copying it still doesn't grab the current name combining with another variable that throws in .dll at the end as an extension. Please note picture attachment that shows the actual error.
Please let me know the syntax I should use to do an xcopy within a batch file!