Jump to content

Recommended Posts

Posted

i'm thinking about writing a bat file to delete files and folders AFTER unattend setup and i'm not sure where "del" and "deltree" command locate in windows folder so that i can use these commands in my bat file. If you know, please let me know.

2-If you know a GOOD website which shows how to write a bat file from a beginning to advance level, please post a link here.

thank you very much


Posted

huh? all u need 2 do is

for a file: DEL /Q "Path to file"

for a folder: RD /S Q "path to folder"

Posted
huh? all u need 2 do is

for a file: DEL /Q "Path to file"

for a folder: RD /S Q "path to folder"

i tried to use DEL thing but error message comes up. Del is not a recognized command............

Posted

batch isn't hard.

open up a command prompt, and type your commands you want to accomplish....

Goodjob, now just write those EXACT commands in a CMD file, bravo you've made the file.

If you don't know what a certain command does, type /? or go into the HELP documentation included inwindows or search online.

BATCH is simply the computer typing in the commands that you normally would. It's in sequence and and EXACTLY the same as typing the command prompt (there are exceptions, but that's getting into conditionals and loops)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...