Delete file using dos script
Show 1 more comment. SomethingDark TXT" hope this will resolve your problem. Ravi Ravi 9. Never heard of that. Is that new? It works with spaces as it does without, as long as you set it in quotation marks. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.
Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 0. Related Hot Network Questions. Question feed. Delete only operates in the system directories of the current Windows installation, removable media, the root directory of any hard disk partition , or the local installation sources. Del and delete do not support replaceable parameters wildcards. In Microsoft Windows, deleted items go to the Recycle Bin.
Use the rmdir or deltree command to delete directories. The use of this command in the above example would delete any file ending with "est. Popular Topics in IT Programming. Which of the following retains the information it's storing when the system power is turned off? Submit ». Verify your account to enable IT peers to see that you are a professional. Scriptkitty Jul 6, at UTC. Hi thank you for your reply, I tried using rmdir however I get an error stating that the volume label syntax is incorrect and some other generic errors that it could possibly be like directory name and or file name.
In your example, you are accessing the machine's administrative share, so I believe this is not a permissions issue. Personally, if I ran into over-the-network problems, I would probably try rmdir with psexec first just because it would be fast to test. Scriptkitty Jul 13, at UTC. This topic has been locked by an administrator and is no longer open for commenting.
Read these next
0コメント