Maybe a little off-topic but network related

memo

Golden Member
Jul 16, 2000
1,345
0
0
Like topic says, may be a bit off topic, but I wanted to write a scipt that pretty much copies files from someone computer over the network using xcopy. I know a bit outdated but its already set up to work. anway, the script goes into folders, i.e. \\networkedbox\Docume~1\User\Locals~1\Applic~1\etc.... would it be faster if i just set up that particular folder as \share and do \\networkedbox\share? im just wondering if dos can go straight to the folder or does it have to recurse through the folders. thanks for the help

[EDIT]
By the way we are moving huge files so if this affects the time at all it would make a difference
[/EDIT]
 

Garion

Platinum Member
Apr 23, 2001
2,331
7
81
XCOPY can go directly to a share on a folder without mounting it. Your first copy option should be fine, assuming the remote machine has permissions to modify files in the directory.

- G
 

memo

Golden Member
Jul 16, 2000
1,345
0
0
another xcopy related question, is there a switch that allows you to move only certain file sizes? i.e. i want to move >500MB files every month, but <500MB every day? Thanks
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
You could try loading SFU or cygwin or something and use their find command (not sure if either of them have it). Find in Unix allows you to search for file sizes I believe.
 

memo

Golden Member
Jul 16, 2000
1,345
0
0
Originally posted by: n0cmonkey
You could try loading SFU or cygwin or something and use their find command (not sure if either of them have it). Find in Unix allows you to search for file sizes I believe.

Yeah i was thinking something along the same lines, but I was thinking a simple VB code that would make the files into a txt file, but i figured there had to be something easier since my requirements are so basic
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: memo
Originally posted by: n0cmonkey
You could try loading SFU or cygwin or something and use their find command (not sure if either of them have it). Find in Unix allows you to search for file sizes I believe.

Yeah i was thinking something along the same lines, but I was thinking a simple VB code that would make the files into a txt file, but i figured there had to be something easier since my requirements are so basic

I'm sure there is something similar, I just don't know it. ;)

The only Windows machine I run at home is Win2k3. The search dialogue box in Win2k has a size parameter, so if someone knows a CLI based version of it, you should be set.

find is actually grep.
search doesn't exist.
Didn't see anything helpful using 'help'. :(