Computing.Net > Forums > Networking > Batch file help

Batch file help

Reply to Message Icon

Original Message
Name: Kardian
Date: September 15, 2006 at 20:00:47 Pacific
Subject: Batch file help
OS: Windows XP Pro
CPU/Ram: AMD Athlon XP 1900+, 512M
Comment:

I want to create a batch file that will copy the contents of a particular folder (including subfolders and their contents) to a network location. Using *.* only copies files, but not folders. Anyone have an idea?

MCP CCNP


Report Offensive Message For Removal


Response Number 1
Name: steigrafx
Date: September 15, 2006 at 22:07:39 Pacific
Subject: Batch file help
Reply: (edit)

Give a man a fish, feed him for a day. Teach a man to fish, feed him for a lifetime.

At a command prompt, type xcopy {foward slash}?

Xcopy is the command you want to use.


Report Offensive Follow Up For Removal

Response Number 2
Name: Kardian
Date: September 16, 2006 at 17:47:49 Pacific
Subject: Batch file help
Reply: (edit)

Thanks, much appreciated!

MCP CCNP


Report Offensive Follow Up For Removal

Response Number 3
Name: Polin
Date: September 16, 2006 at 20:18:05 Pacific
Subject: Batch file help
Reply: (edit)


Hello,

Please remember add /s (xcopy /s ) to include the subdirectories.

Leo
Helper and Better


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Batch file help

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge