Windows 10 Interactive Bat file to send Files across Network to PCs

  • Thread starter Thread starter MoiseJulien
  • Start date Start date
M

MoiseJulien

I need help with creating a batch script, which will allow me to send some files across to PCs on the Network. I need the script to be interactive so that it requests the name of the PC to which the file will be sent. Instead of editing the script whenever I want to send the file to a new PC, I would like the option to enter the PC's name or even a list of PCs to receive the file. Here is the example of the file being sent xcopy "C:\Users\James\Work Files\Updated File.xlsx" "\\PC NAME\c$\Users\Marco\Desktop" When the script asks for the 'Send to PC', I can simply enter something like

Continue reading...
 
Back
Top