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 Question
Name: morphine Date: March 31, 2005 at 13:36:47 Pacific OS: NT CPU/Ram: 1 GB
Comment:
I have a simple batch file that I want to delete the contents of a directory once a week:
- @echo off del d:\DB_1\Thu\*.* @exit -
I am running NT 4.0 Server and want to have it run as a scheduled task.
When I run the batch file manually it brings up a confirmation asking if I'm sure I want to delete. If I say yes it deletes the contents of the directory exactly as wanted.
How can get the bacth file to run without a delete confirmation? This is preventing it from working as a scheduled task.
Summary: I know, I'm dumb.....What would be the correct syntax if I want to create a simple batch file that will map multiple network drives at once? For instance if I wanted to map A: \\server1\share1 B:...
Summary: What is the command to have the batch file auto answer questions? eg. I am writing a backup script and if something is changed it wants to know if I want to overwrite it. I just want it to answer y...
Summary: A batch file, no not really. You CAN do it with registry files, though. What you'd have to do is locate (in the registry) the IP entry for the NIC in question, and create two files (work1.reg and work...