PDA

View Full Version : Moving folders from PC to Mapped Drive (W2K)



mmitchmcp
02-04-2004, 10:59 AM
How do you move a foder on a PC to a folder on a mapped network drive?

mmitchmcp

unknown634
02-04-2004, 02:21 PM
First, what're using to do it?

VBScript:
<font color=red>
Dim fso
set fso=createobject("scripting.filesystemobject")
fso.MoveFolder "folder on local HD", "Folder on Network Drive"
set fso=nothing
</font color=red>

Change the italic parts to the folder on the HD your moving and the place you want it on the network drive.

Post back if you need anything else,
Unknown

-----------------
C:\
C:\DOS
C:\DOS\RUN
RUN\DOS\RUN

reydiodj
11-04-2004, 04:21 PM
So would this script also work the same way if I wanted to run it within an app so that any docs created within it could be off loaded to a network folder instead of the default "My Documents" folder?

Brf
11-05-2004, 09:11 AM
It depends on the App.... just write the files to the network drive, rather than your C-Drive.

reydiodj
11-05-2004, 03:22 PM
Yeah, that's the thing - the app has no control for us to redirect it to write new files to the network share so it goes to the default location. The people we'll have using the app won't really have a choice to where to save the file, so I'd like to just have it deafult for each person that logs into the app.

Belaflek
12-10-2004, 06:35 AM
If ur in AD you can just use the Folder Redirection GPO.