×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Move script

Move script

Move script

(OP)
Can anyone tell me if the MOVE command has been changed in windows 2000.

I'm trying to write a script that moves the files from on file server to another and i can't seem to get it to work.

Am i being completely thick.

I thought the command would be

move \\servername\d$\test \\servername\test

Is this correct??

Thanks for your help.

W

RE: Move script

I just did some testing and it appears that MOVE is still using 8.3 format for pathways.


example:

MOVE \\Old Server\This Directory\File to Move.doc \\New Server\This Directory

(in 8.3 format it translates to:)

MOVE \\oldser~1\thisdi~1\fileto~1.doc \\newser~1\thisdi~1


If you keep in mind that it still uses 8.3 directory and path names then your script(s) will work.

Have a nice day.

--MiggyD

RE: Move script

If you go to http://www.robvanderwoude.com/, and look for the allhelp.bat link, it will download a 2k zip file which when expanded and run, produces a htm file of all your available command line command help files, including move.

Shouldn't you reference the files you want to move?
move \\servername\d$\test\*.* \\servername\test\
Assuming you have full permissions on the paths on both servers.

RE: Move script

We have 2 win2k servers (one in each building), I had no problems with direct naming of the directories.  I believe ASP takes care of this.

--MiggyD

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close