Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcopy to "%AppData%\Roaming\Microsoft\Excel\XLSTART\" stated copied yet nothing is there

I'm trying to write a small bat script to put on my teams desktops and allow them to update their personal macro file with mine when ever I push out an update or have created new tools.

I have the following

xcopy "O:\abc Supply chain\Supply Chain Team\David Peters\Excel\Macro File" "%AppData%\Roaming\Microsoft\Excel\XLSTART\" /y

under CMD is says 1 files copied yet there isn't anything in the XLSTART folder.

can you pleased tell me what I'm doing wrong

many thanks

like image 818
Phairplay Avatar asked Nov 15 '25 23:11

Phairplay


1 Answers

Not sure about your configuration, but for me the Roaming folder is already included in the value of the %AppData% variable.

"%AppData%\Roaming\Microsoft\Excel\XLSTART\"
           ^......^ 

So, probably you should use "%AppData%\Microsoft\Excel\XLSTART\"

like image 119
MC ND Avatar answered Nov 18 '25 20:11

MC ND



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!