Question:
Windows batch file help?
FeVer
2010-06-26 08:57:55 UTC
I wanna delete the folder called P on my desktop.
Code:
del "C:\Users\Don\Desktop\P"

But it brings up a cmd window ASKING me if I wanna do it Y/N.
I dont want it to bring the cmd up. I just want it deleted immediatly. What am I doing wrong?
Three answers:
anonymous
2010-06-27 01:35:05 UTC
i believe if you type del "C:\Users\Don\Desktop\P", it will delete the contents in the directory.

You need to use the rd command and that stands for remove directory. directory and folder mean the same thing. so you would type:

rd "C:\Users\Don\Desktop\P"
Arul Kumar
2010-06-26 09:26:22 UTC
You have to use Switch



Like Del /s /f



for more Info In command prompt type



Del /? and hit enter to see list of Switches available for Del Command
anonymous
2016-12-01 02:40:14 UTC
the least complicated way ought to be to observe an emulator, which includes Microsoft's VirtualPC or the open source Qemu. somewhat, you placed contained interior the Linux of your determination on the emulated pc (it is tough drive is in trouble-free words a rfile on your real pc) and you will then installation and run even nevertheless Linux apps you like.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...