Ryan's District Boards

Computer, programming, and webmaster help , support , tips and tricks => Internet webmaster computer programming technology tips and tricks => Topic started by: charleychacko on October 15, 2006, 10:52:13 AM

Title: Why connect if you don't have to
Post by: charleychacko on October 15, 2006, 10:52:13 AM
If you want to copy a file named MYFILE.TXT residing in your local drive C to a file server named SERVER1, you'd first assign a [local] drive letter (X for example) to point to that server, and then copy your file to the newly created drive letter. For example:
NET USE X: \\SERVER1\DRIVE_C

COPY C:\MYFILE.TXT X:\Did you know that you don't have to dedicate a drive letter in order to use the file server to perform simple file operations? For example, you can perform the above file copy using just one command:

COPY C:\MYFILE.TXT \\SERVER1\DRIVE_C