Computing.Net > Forums > Windows NT > Batch File Problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File Problem

Reply to Message Icon

Name: Matt
Date: October 22, 2003 at 03:53:43 Pacific
OS: Windows NT
CPU/Ram: P2
Comment:

I am trying to develop a batch file, which deletes user profiles. In our profile directory there are four user profile folders, which must not be deleted but all the rest need to be deleted. I am trying to create a batch file that copies the four folders to a new directory and then deletes the rest of the folders in the original directory. So I am wondering in Windows NT and 2000 is there a command that actually deletes folders and subfolders? And is there a command that Copies actual folders from one destination to another? If not is there a command that copies files from subfolders within folders. Finally is there a command which can create new folders? Thank you very much for any help,

Matt



Sponsored Link
Ads by Google

Response Number 1
Name: Rambler
Date: October 22, 2003 at 09:29:51 Pacific
Reply:

MS omitted a DELTREE command from NT and W2K, but I found a link here which might help.

There are commands to make & copy folders - type HELP at a command prompt.

MD makes a directory, XCOPY copies files & folders.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Batch File Problem

Batch File Problem - Comparing www.computing.net/answers/windows-nt/batch-file-problem-comparing/9121.html

Batch File problem www.computing.net/answers/windows-nt/batch-file-problem/22747.html

Access batch file problem www.computing.net/answers/windows-nt/access-batch-file-problem/11849.html