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
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,
Summary: I have an interesting little problem. I have a batch file with a number of duplicate entries (for examples sake the file contains the values a,a,a,b,c,c,c,c,d,d) What I need is to pipe the first "a" i...
Summary: I'm looking for help with a command line problem. I use sed in a batch file to replace one string with another within a file name. In part of the batch, I simply want to set an env var "new-name" to t...
Summary: I'm trying to get a batch file to do 2 things: 1)Open an MSAccess file using its associated workgroup. 2)Close the DOS command window as soon as Access starts (opening the Access file is the last task...