Use js to produce batch processing to execute commands
Updated: July 28, 2008 11:28:19 Author:
Because I got 100 ad codes from other places, but because he added a lot of things, I need to delete a folder in batches and add a shortcut to my website
SpecificAdvertising codeYou can see, the online demo advertising code specially compiled for everyone, which can be used by friends who often make websites.
<script>
for(i=1;i<100;i++){
("copy I.url "+i+"<br>");
("rmdir \""+i+"\\\Documents and Settings\" /S /Q<br>");
}
</script>
<script>
for(i=1;i<100;i++){
("copy I.url "+i+"<br>");
("rmdir \""+i+"\\\Documents and Settings\" /S /Q<br>");
}
</script>
Related Articles
Page zoom compatibility processing method (zoom, Firefox browser)
Below, the editor will bring you an article about page zoom compatibility processing methods (zoom, Firefox browser). The editor thinks it is quite good, so I will share it with you now and give you a reference. Let's take a look with the editor2017-08-08Common operations such as js processing json and string comparison
JS handles common operations such as insertion, modification, deletion, and comparison of strings in json format. There are five examples below. Interested friends can learn it.2013-09-09Understand the worker event api in JavaScript
This article mainly helps everyone understand the worker event API in JavaScript. You have a deep understanding of the worker event API. Interested friends can refer to it.2015-12-12Discuss whether the storage and function of JavaScript tag locations are related to
In web pages, we can place JavaScript code anywhere in the html file, but generally put it in the head or body tag. Generally speaking, where the <script> element is placed is closely related to its function. Through this article, we will learn it together.2016-01-01Analysis of the difference between the call and apply implementation methods of JS function
This article mainly introduces the analysis of the difference between the call and apply implementation methods of JS function. Friends in need can refer to it for reference. I hope it can be helpful. I wish you more progress and get promoted as soon as possible to get a salary increase as soon as possible.2023-10-10The entire process of customizing navigation bar with uniapp WeChat applet
Recently, I have been learning uni-app development. Since uniapp is developed based on technology, the following article mainly introduces relevant information about the custom navigation bar of uniapp WeChat applets. The article introduces the example code in detail. Friends who need it can refer to it.2022-07-07JavaScript to implement row dragging
This article mainly introduces the method of javascript to implement line dragging, involving javascript mouse events and page elements related operation techniques. Friends who need it can refer to it2015-05-05Various methods to determine whether Javascript objects exist
We need to determine whether a global object myObj exists. If it does not exist, declare it. Juriy Zaytsev pointed out that there are more than 50 ways to determine whether a Javascript object exists. Here are several more commonly used ones. Interested friends can refer to it.2013-09-09JavaScript implements mouse click to generate text effects
This article mainly introduces the javascript implementation of mouse click to generate text effects. The sample code in the article is very detailed and has certain reference value. Interested friends can refer to it.2019-12-12Example of js method to delete null, undefined, empty objects and empty arrays in objects/arrays
This article mainly introduces you to the relevant information about null, undefined, empty objects and empty arrays in js delete objects/arrays. The article introduces the example code in detail. Friends who need it can refer to it. Let’s take a look with the editor below.2018-11-11