home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2794
Discussions: 186,609, Posts: 2,227,071, Members: 230,244
Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
Old August 14th, 2008, 02:13 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 3
xcopy directory

hello,

i need assistance w/an xcopy command that will basically copy a directory from one drive to another w/out the contents from the subdirectories. is this possible?

something like:

xcopy u:\mainfolder\*. p:\
(including the subdirectories from "mainfolder", but w/out the contents)?


any help would be much appreciated.
thank you.

broskibb is offline   Reply With Quote
TechIMO.com Ads - Login or register for less ads.
How many errors does your computer have?

You no longer need to guess! This free stability scan and registry cleaner download will give you a complete diagnosis of your Windows registry, identifying errors and conflicts.

FREE instant scan


Guest, Register Free! to remove this ad and get your tech support questions answered in minutes!
Old August 14th, 2008, 04:19 PM     #2 (permalink)
Ultimate Member
 
outlaw2001it's Avatar
 
Join Date: Sep 2006
Location: Wherever I land.
Posts: 2,269
Blog Entries: 1
Send a message via Skype™ to outlaw2001it
Welcome to TechIMO.
Instead of Xcopy which is for directories (including subs)...try the copy command. Or go into Explorer, and copy/paste from one directory into another. What OS are you running???


Last edited by outlaw2001it : August 14th, 2008 at 04:21 PM.
outlaw2001it is offline   Reply With Quote
Old August 14th, 2008, 04:43 PM     #3 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 3
thank you for the reply.

i'm running XP PRO SP3.

to add to the explanation, i have an existing drive (u: ) which includes hundreds of user folders including security. i would like to copy each user's folder (including security) to a new drive (p: ) that was recently created instead of manually doing one folder at a time....which could take a while.
hope this helps.

...and to add again... copy the user folders, w/out contents inside. (if that is even possible)

thanks anyway


Last edited by broskibb : August 14th, 2008 at 05:09 PM.
broskibb is offline   Reply With Quote
Old August 14th, 2008, 06:57 PM     #4 (permalink)
Ultimate Member
 
outlaw2001it's Avatar
 
Join Date: Sep 2006
Location: Wherever I land.
Posts: 2,269
Blog Entries: 1
Send a message via Skype™ to outlaw2001it
I don't know of a command that will copy just the folder name without any contents within the folder, and don't think that is possible. What you can do is copy the folders onto the "P:" drive, and then manually delete the contents afterwards. I've used other Windows programs for directory usage, and none of them do what you're asking. Maybe someone else on here has an idea. Sorry that I can't help you any further.
outlaw2001it is offline   Reply With Quote
Old August 15th, 2008, 09:11 AM     #5 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 3
np.

thank you for your help and have a nice weekend.

ciao
broskibb is offline   Reply With Quote
Old August 16th, 2008, 10:47 PM     #6 (permalink)
Ultimate Member
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 2,742
Send a message via AIM to Rootstonian
For a small fee, LOL, I'll write you a program that will copy folder names sans content. It'll be in my spare time of course (i.e. don't know how long it will be). The concept is quite simple really; implementation is the tickler

It's a trapezodial, reverse polling transverse algorithm with simple file parsing

Last edited by Rootstonian : August 16th, 2008 at 10:51 PM.
Rootstonian is offline   Reply With Quote
Old August 17th, 2008, 12:41 AM     #7 (permalink)
Member
 
Nickster's Avatar
 
Join Date: Aug 2008
Posts: 200
Umm, Start..Run...Command...

xcopy /?

it brings up a help list, what you are looking for is this.

xcopy /t /e u: p:

Enjoy,
Nick
Nickster is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xcopy or something like it fyxxer32 Applications and Operating Systems 0 December 23rd, 2005 09:09 PM
an xcopy alternative. jeffeb3 Applications and Operating Systems 2 February 11th, 2005 06:04 PM
Xcopy -- Try 2 n3uxf Technical Support 8 August 26th, 2003 08:42 PM
Xcopy Command n3uxf Technical Support 0 August 21st, 2003 10:39 AM
Xcopy surreal Applications and Operating Systems 31 December 4th, 2001 03:01 PM

Most Active Discussions
Is It Just Me? (536)
Misery Loves Company... (1849)
Why Does the MOON Grow Bigger as It.. (18)
heatsink issue (10)
New Mobo (18)
UPGRADING C/D DRIVE TO 250GB & .. (14)
1 internet. 1 house. 3 computer. ho.. (13)
Is This A Compatible Gaming PC? (18)
SSD's, RAID, and External Backup (7)
Recent Discussions
webcam sharing (0)
help! jumbled text and computer.. (1)
Scanning problem (4)
DFI socket 939 board acting up (5)
Building my first PC and need s.. (2)
32 or 64 bit vista (4)
Big problem with my PC (2)
system restore 'next' button wo.. (2)
firewall (1)
FS: Dell 6000 laptop, modded 36.. (2)
Apple iPod touch 16 GB $200 (4)
Six 28-Disc Cross Design Black .. (4)


All times are GMT -4. The time now is 12:49 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28