-
1. What is a bat command file?
The BAT file is a batch file under DOS due to its extension. bat or .cmd, so it is customary to call it a bat file.
The batch file is an unformatted text file that contains one or more commands that the user can execute like one. The exe file directly executes the bat command file, thus greatly simplifying routine or repetitive tasks, eliminating the need to call the DOS window and type in DOS commands.
2. How to modify the icon of the bat command file.
First of all, the icon of the bat command file cannot be directly modified, but the purpose of changing the icon can be indirectly achieved through other operations, as follows:
1. Find the bat command file on the desktop where you want to modify the icon.
2. Cut it under other drive letters, such as the D drive.
3. Right-click on the file and select "Send to" - "Desktop shortcut".
4. Find the shortcut of the bat command file sent from the desktop (renameable) 5. Right-click on the shortcut and select "Properties".
6. Find the "Change Icon" button in the pop-up interface and click it.
7. Select your favorite icon and click "OK".
7. Click "Apply" - OK in turn.
8. The icon modification is completed.
-
The bat command file is a batch processing of an object, which is often considered a simplified scripting language.
It is applied in DOS and Windows systems. The method to modify the icon is as follows:
1. First of all, create a new folder here.
Used to replace the icon.
3. Select Change Folder, right-click in the pop-up window and select Properties.
3. Select the Modify icon.
4. Then there will be a pop-up interface for you to select the icon, at this time you can choose "browse" to customize the icon or select the built-in icon to change, here I use the built-in.
5. After selecting the replacement confirmation, go back to the folder and you can see that the file icon has been replaced.
Notes:Batch file.
Compared with C language and other programming statements, the programming ability is very limited and non-standardized. Batch program statements are dos commands.
both internal and external commands), and the ability to batch depends primarily on the commands you use.
-
The bat file itself cannot be set directly, its shortcut can be set, and the icon can also be specified by using bat2exe to convert it to an exe file. I personally prefer to use bat2exe
-
It can be achieved with third-party software, use this modification, open the file and find it. bat then double-click, and then change the icon inside.
-
@echo off
Set the full file name to be deleted.
set delfile=
for /f "tokens=3 delims= " %%a in ('reg query "hkcu\software\microsoft\windows\currentversion\explorer\shell folders" /v "desktop"') do set "desktop=%%~a"
loopif exist "%desktop%\%delfile%" del /f /q "%desktop%\%delfile%"
goto loop
exitAfter the script is run, it will be deleted in a loop.
-
You can right-click on the file and select "Send to" ->Desktop Shortcut", and the desktop will have your *bat file, if you want to clean up the system junk in the future, you can click on it directly. Description:
This is just a shortcut, i.e. a connection to the source file, which is very small, so you don't have to worry about the impact of it on the desktop on the speed of the system.
-
xp: Add at the end of **.
if not exist "%userprofile%desktop%nx0" copy "%dp0" "userprofile% desktop"
vista:
if not exist "%userprofile%\desktop\%~nx0" copy "%dp0" "userprofile%\desktop"
-
I don't know what you mean, what does it mean to create on the desktop?
-
File Contents:
del c: documents and settings administrator Desktop specific file name.
-
You can't have spaces in the file name in the batch command
-
Create your own background folders for Monday to Friday, then put the script together with these folders and double-click to execute it.
If there is an admin request, be sure to select Yes. Because this is creating a boot auto-start function.
Once the script execution is exited, set the background folder to a directory named "Today" in the personalization settings.
After running the script, the corresponding week will become the "Today" folder, which you have to set to the desktop background yourself
-
I'm trying to break the vows, and I think I can.
-
@echo off echo rem >%temp%\ echo set wshshell = "") >temp%\ echo strdesktop = "desktop") >temp%\ echo rem >>temp%\ echo set oshelllink = "%userprofile%\Desktop\New icon. lnk") >temp%\ echo rem = >>temp%\ echo = "d: Corresponding execution procedure.
exe" >>temp%\ echo = 1 >>temp%\ echo = "" >>temp%\ echo = "d: Corresponding execution procedure. exe, 0" >>temp%\ echo = "Description:
>temp%\ echo = "d:\">>temp% echo >>temp% start %temp% Please modify your own corresponding path.
attrib c: windows system32 +h, pay attention to the spaces. >>>More
I'm going to do the same to your boyfriend, a man wants to have a woman who loves him wholeheartedly and doesn't have a grain of extra sand. That's why there will be extramarital affairs, "only depending on the individual's thoughts, not only all", but in the "password", there are some things about physiology, of course, it needs to be meaningful. . . Women's physiological things, it's not good, women don't know as much as men. >>>More
I can't remember seeing this sentence from **"If you don't love someone, let go so that others have a chance to love them. If someone you love has given up on you, let go of yourself so that you have the opportunity to love others. "This sentence is straightforward but very reasonable, and it also teaches a person how to deal with feelings from one side. >>>More
It can be sent to the pet hospital for examination and injections. >>>More
The biggest advantage of a long-distance relationship is that it can create a sense of mystery for the two of you, and if you are not confident, you can try the following ways to express your love to your lover: >>>More