![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 06:27 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » LAN Batch Backup |
| Printable Version 749 / 5 |
| Floor1 376693839 | Posted 2009-08-17 06:38 |
| 新手上路 Posts 5 Credits 5 | |
|
I want to use a batch file to back up important materials on the LAN, with the extension xls
How should I write this command, |
|
| Floor2 songkingman | Posted 2009-08-18 05:53 |
| 新手上路 Posts 6 Credits 11 | |
| Floor3 beauking | Posted 2009-08-18 05:54 |
| 初级用户 Posts 8 Credits 21 | |
|
It's the same as a normal copy, just add a LAN address to the source or destination file.
|
|
| Floor4 376693839 | Posted 2009-08-19 21:56 |
| 新手上路 Posts 5 Credits 5 | |
|
I can't do it with a normal copy.
I wrote my command like this: xcopy 路径、*.jpg . /s /d /y It says invalid drive specification. Do I need to create some kind of connection first when copying with this command? Please advise!! |
|
| Floor5 yishanju | Posted 2009-08-20 13:06 |
| 银牌会员 Posts 1,357 Credits 1,488 | |
|
Create a null session
This is to map the shared folder as a drive on the local computer, which makes it more convenient to work with. Actually I've already made two similar backup scripts before, I just keep forgetting to post the code.。。。 |
|
| Floor6 376693839 | Posted 2009-08-22 06:09 |
| 新手上路 Posts 5 Credits 5 | |
|
I created it like you said
still doesn't work net use \\ip\ipc$ " " /user:" " create IPC null session Is there a problem with how this was created |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |