Jump to content
Sign in to follow this  

one last problem

Recommended Posts

hi again

i hope this is my last problem for today ( is not so cool to be a newbie)

i must move a folder

the problem

$source = 'F:\docs\allweek'

$dest = 'F:\dbs\2006'

DirMove ($source, $dest, 1)

directory "allweek" have some subfolders and files into it ( ex : thu, sun, mon, etc)

the problem is that i need when i move the folder "allweek" into "2006" to move only the folders that are in "allweek".

right now when i move , it move all folder "allweek"

so i have f:\dbs\2006\allweek\mon

but i must have something like:


any ideas?

Edited by erikson

Share this post

Link to post
Share on other sites

Not sure at all what your asking... maybe try this:

$dest = 'F:\dbs\2006\'

more simple:

with my script right now after the folders move:


my needs:


so i whant to move what is in the folder allweek (including subfolders) not the whole "allweek " folder

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...